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 Switch interfaces.

The following figure shows the default interface settings.

sysname> show ip 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

 

SNMP TRAP 3: link up

1

Thu

Jan

1

00:02:08 1970 PP05 -WARN

2

Thu

Jan

1

00:03:14 1970

INFO

adjtime task pause 1 day

3

Thu

Jan

1

00:03:16 1970 PP0f -WARN

SNMP TRAP 26: Event On Trap

4

Thu

Jan

1

00:03:16 1970 PINI -WARN

SNMP TRAP 1: warm start

5

Thu

Jan

1

00:03:16 1970 PINI -WARN

SNMP TRAP 3: link up

6

Thu

Jan

1

00:03:16 1970 PINI

INFO

main: init completed

7

Thu

Jan

1

00:00:13 1970 PP26

INFO

adjtime task pause 1 day

8

Thu

Jan

1

00:00:14 1970 PP0f -WARN

SNMP TRAP 26: Event On Trap

9

Thu

Jan

1

00:00:14 1970 PINI -WARN

SNMP TRAP 0: cold start

10

Thu

Jan

1

00:00:14 1970 PINI

INFO

main: init completed

11

Thu

Jan

1

00:00:04 1970 PP05 -WARN

SNMP TRAP 3: link up

11

Thu

Jan

1

00:00:04 1970 PP05 -WARN

SNMP TRAP 3: link up

Clear Error Log

(y/n):

 

 

"If you clear a log (by entering y at the Clear Error Log (y/n):prompt), you cannot view it again.

46.2.4show interface

Syntax:

show interface [port-number]

386

 

ES-4124 User’s Guide