2-781
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands show logging buffer
show logging bufferTo display system messages from the internal buffer, use the show logging buffer command.
show logging buffer [–] [number_of_messages]
Syntax Description
Defaults The default is –20 messages.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines If you do not enter the – keyword, system messages are displayed from the beginning of the buffer. If
you do not specify the number_of_messages, all messages in the buffer are displayed.
Examples This example shows how to display the first four system messages from the internal buffer:
Console> (enable) show logging buffer 4
1999 Dec 28 15:18:21 %SYS-1-SYS_NORMPWRMGMT:System in normal power management on
1999 Dec 28 15:18:24 %SYS-5-MOD_PWRON:Module 2 powered up
1999 Dec 28 15:18:31 %MLS-5-NDEDISABLED:Netflow Data Export disabled
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
Console> (enable)
This example shows how to display the last four system messages from the internal buffer:
Console> (enable) show logging buffer -4
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
1999 Dec 28 15:18:32 %SYS-5-MOD_OK:Module 1 is online
1999 Dec 28 15:19:07 %SYS-5-MOD_OK:Module 2 is online
1999 Dec 28 15:19:27 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1
Console> (enable)
Related Commands clear logging buffer
set logging buffer
–(Optional) Forces the display to show system messages starting
from the end of the buffer.
number_of_messages (Optional) Number of system messages to be displayed; valid
values are from 1 to 1023.