
GSWB
CHAPTER 8 CLI Operations
8.3.8.8show logging trap
This command displays the stored trap log contents.
(1) Synopsis
show logging trap [tail <number>]
(2) Options
ztail: Displays the specified number of last log items.
- number: Specifies the number of log items to be displayed (1 to 1023).
(3)Command mode
enabled exec
(4) See also
clear logging trap
(5)Examples
•Displays all the message log contents
switch#show logging trap |
|
seq date | hostname logid code messages |
----
0001
0002
0003
0004
0005
0006
•Displays the last message log item
switch#show logging trap tail 1
seq date | hostname logid code messages |
----
0474
Displayed items: