GSWB 8.3 Operation Commands

(5)Examples

Displays the line log of all ports

Switch# show logging line

 

 

message

seq date

hostname interface-id

---- -------------------

-------- ----------------------

---------

0001 1970-01-01 09:00:16 (none)

: 35 FastEthernet 2/2

Port is up[100M,full]

0002 2001-01-01 00:00:01 (none)

: 1 IO_Unit 0 0

Enable

0003 2001-01-01 00:00:01 (none)

: 2 IO_Unit 0 1

Enable

0004 2001-01-01 00:00:01 (none)

: 3

IO_Unit 1 0

Enable

0005 2001-01-01 00:00:01 (none)

: 4

IO_Unit 1 1

Enable

0006 2001-01-01 00:00:01 (none)

: 5

IO_Unit 2 0

Enable

0007 2001-01-01 00:00:01 (none)

: 6

IO_Unit 2 1

Enable

.......

 

 

 

 

Switch#

 

 

 

 

Displayed items:

zseq: Message log sequence number

zdate: Collection date and time

zhost: Host name

zinterface name: Interface name

zmessage: Message

Displays the GigabitEthernet0/1 line log

switch#show logging line GigabitEthernet 0/1

message

seq

date

 

hostname interface-id

----

--------------------

-------- -----------------------

---------

0025

2001-01-01

00:00:01

(none) : 17 GigabitEthernet 0/1

Enable

0042

2001-01-01

00:00:37

switch : 17 GigabitEthernet 0/1

Port is up[100M,full]

switch#

• Displays the latest two line log items

switch#show logging line

tail 2

 

 

 

message

seq

date

 

hostname interface-id

----

-------------------

-------- ------------------

---------

0259

2004-12-27

17:02:30

switch

:

16

IO_Unit 7 1

Port

is up[1G,full]

0260

2004-12-27

17:02:30

switch

:

4

IO_Unit 1 1

Port

is up[1G,full]

switch#

(6) Error Messages

• % Incomplete command.

Cause: Incomplete command input

Action: Enter the command string correctly.

C122-E003-02EN

8-255