Chapter 46 User and Enable Mode Commands
46.2.2 show ip
Syntax:
show ip
This command displays the IP related information (such as IP address and subnet mask) on all
interfaces.
Switch
The following figure shows the default interface settings.
sysname> show
Management IP Address
IP[192.168.0.1], Netmask[255.255.255.0], VID[0]
IP Interface
IP[192.168.1.1], Netmask[255.255.255.0], VID[1]
sysname>
46.2.3 show logging
Syntax:
show logging
This command displays the system logs. The following figure shows an example.
sysname# show logging
1 Thu Jan
2 Thu Jan
3 Thu Jan
4 Thu Jan
5 Thu Jan
6 Thu Jan
7 Thu Jan
8 Thu Jan
9 Thu Jan
10 Thu Jan
11 Thu Jan
11 Thu Jan
Clear Error Log (y/n):
If you clear a log (by entering
cannot view it again.
46.2.4 show interface
Syntax:
show interface [port-number]
378
ip
1 00:02:08 1970 PP05 -WARN
1 00:03:14 1970
1 00:03:16 1970 PP0f -WARN
1 00:03:16 1970 PINI -WARN
1 00:03:16 1970 PINI -WARN
1 00:03:16 1970 PINI
1 00:00:13 1970 PP26
1 00:00:14 1970 PP0f -WARN
1 00:00:14 1970 PINI -WARN
1 00:00:14 1970 PINI
1 00:00:04 1970 PP05 -WARN
1 00:00:04 1970 PP05 -WARN
at the
y
SNMP TRAP 3: link up
INFO
adjtime task pause 1 day
SNMP TRAP 26: Event On Trap
SNMP TRAP 1: warm start
SNMP TRAP 3: link up
INFO
main: init completed
INFO
adjtime task pause 1 day
SNMP TRAP 26: Event On Trap
SNMP TRAP 0: cold start
INFO
main: init completed
SNMP TRAP 3: link up
SNMP TRAP 3: link up
Clear Error Log (y/n):
GS-4012F/4024 User's Guide
prompt), you