C122-E003-02EN 8-255
GSWB
8.3 Operation Commands
(5) Examples
• Displays the line log of all ports
Displayed items:
z seq: Message log sequence number
z date: Collection date and time
z host: Host name
z interface name: Interface name
z message: Message
• Displays the GigabitEthernet0/1 line log
• Displays the latest two line log items
(6) Error Messages
• % Incomplete command.
Cause: Incomplete command input
Action: Enter the command string correctly.
Switch# show logging line
seq date hostname interface-id message
---- ------------------- -------- ---------------------- ---------
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#
switch#show logging line GigabitEthernet 0/1
seq date hostname interface-id message
---- -------------------- -------- ----------------------- ---------
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#
switch#show logging line tail 2
seq date hostname interface-id message
---- ------------------- -------- ------------------ ---------
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#