
GSWB 8.3 Operation Commands
(5)Examples
•Displays the line log of all ports
Switch# show logging line |
|
| message | |
seq date | hostname | |||
0001 | : 35 FastEthernet 2/2 | Port is up[100M,full] | ||
0002 | : 1 IO_Unit 0 0 | Enable | ||
0003 | : 2 IO_Unit 0 1 | Enable | ||
0004 | : 3 | IO_Unit 1 0 | Enable | |
0005 | : 4 | IO_Unit 1 1 | Enable | |
0006 | : 5 | IO_Unit 2 0 | Enable | |
0007 | : 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 | |
0025 | 00:00:01 | (none) : 17 GigabitEthernet 0/1 | Enable | |
0042 | 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 | |||||
0259 | 17:02:30 | switch | : | 16 | IO_Unit 7 1 | Port | is up[1G,full] | |
0260 | 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.