Support
Joined: 09 Oct 2002 Posts: 175 Location: Lausanne, Switzerland
|
Posted: Mon Jan 13, 03 18:08 Post subject: Do you have any sample telnet/ console commands? |
|
|
Below are a list of common activities a user might make on telnet or console. For more information on the commands themselves please refer to the Reference Manual. Italicised text is sample output when available.
MULTICOM SERIAL NUMBER
info system hardware serial_number
serial_number = LI-MU7-CH-0200D2
SOFTWARE VERSION
info system software firmware
firmware = 3.2
LAN STATUS
info interface ethernet LAN status status
status = UP RUNNING
LAN IP ADDRESS
info interface ethernet LAN status ip_address
ip_address = 10.0.0.1
info interface ethernet LAN ip netmask
netmask = 255.0.0.0
LAN DHCP MODE
info interface ethernet LAN ip dhcp mode
mode = server
WAN STATUS
info interface ethernet WAN status status
status = UP RUNNING
WAN DHCP CLIENT STATUS
info interface ethernet WAN ip dhcp client status state
state = Assigned, Disabled, Fail, Try to get Address, Expire, Rebind, Renew (all possible responses)
PPPoE STATUS
info interface ppp PPPoE status status
status = UP RUNNING
PPPoE IP ADDRESS
info interface ppp PPPoE status ip_address
ip_address = 212.147.17.76
PPPoE IPCP INFO
info interface ppp PPPoE ipcp status state
state = UP
state = DOWN
PPPoE LINK STATUS
info interface ppp PPPoE lcp status info
info = "" (which means everything is OK)
info = CHAP authentication failed
info = Timeout sending Config-Requests
info = Endpoint not connected
PPPoE DNS ASSIGNED SERVERS
info interface ppp PPPoE ipcp status primary
primary = 212.147.10.10
info interface ppp PPPoE ipcp status secondary
secondary = 212.147.0.1
AVAILABLE PPPoE SERVERS
info interface ppp PPPoE pppoe server_list
indexes: 0 1 2
info interface ppp PPPoE pppoe server_list 0 access_concentrator_name
access_concentrator_name = ipc-lsp690-r-lc-01
info interface ppp PPPoE pppoe server_list 0 service_name
service_name = Any
ARP ENTRIES
info arp status arp_entry
indexes: 0 1 2
info arp status arp_entry 0 hw_address
hw_address = 00:C0:F0:57:4A:6D
info arp status arp_entry 1 hw_address
hw_address = 00:C0:F0:4C:A7:90
DNS SERVERS USED
info ip dns status nameserver 0 ip
ip = 192.168.1.115
info ip dns status nameserver 1 ip
ip = 192.168.1.116
ENABLE IPSEC
set security ipsec enabled=true
saveconfig current
DISABLE IPSEC
set security ipsec enabled=false
saveconfig current
TURN ON SECUREWALL
set interface ethernet WAN ip nat securewall=true
saveconfig current
TURN OFF SECUREWALL
set interface ethernet WAN ip nat securewall=false
saveconfig current
ENABLE FILTERING
set ip filtering enabled=true
saveconfig current
ENABLE FILTERING OBJECTS
set ip filtering_objects enabled=true
saveconfig current
ENABLE DNS PROXY
set ip dns proxy enabled=true
saveconfig current
DISABLE DNS PROXY
set ip dns proxy enabled=false
saveconfig current
ENABLE RIP
set routing ip rip enabled=true
saveconfig current
DISABLE RIP
set routing ip rip enabled=false
saveconfig current
ENABLE FTP
set ip ftp server enabled=true
saveconfig current
DISABLE FTP
set ip ftp server enabled=false
saveconfig current
ADD SYSLOG SERVER at 10.0.0.2 (assumes there is no other Syslog Server in position 0)
add ip syslog server 0
set ip syslog server 0 address=10.0.0.2 level=debug
saveconfig current
|
|