Displaying The System Messages; Enabling And Disabling The System Syslog Dump - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 29
Configuring System Message Logging

Displaying the System Messages

Enter the show logging buffer command to display the messages in the switch logging buffer. If you do
not specify number_of_messages, the default is to display the last 20 messages in the buffer (-20).
To display the messages in the switch logging buffer, perform one of these tasks:
Task
Display the first number_of_messages messages
in the buffer.
Display the last number_of_messages messages in
the buffer.
This example shows how to display the first five messages in the buffer:
Console> (enable) show logging buffer 5
1999 Apr 16 08:40:11 %SYS-5-MOD_OK:Module 1 is online
1999 Apr 16 08:40:14 %SYS-5-MOD_OK:Module 3 is online
1999 Apr 16 08:40:14 %SYS-5-MOD_OK:Module 2 is online
1999 Apr 16 08:41:15 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1
1999 Apr 16 08:41:15 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/2
This example shows how to display the last five messages in the buffer:
Console> (enable) show logging buffer -5
%PAGP-5-PORTFROMSTP:Port 3/1 left bridge port 3/1
%SPANTREE-5-PORTDEL_SUCCESS:3/2 deleted from vlan 1 (PAgP_Group_Rx)
%PAGP-5-PORTFROMSTP:Port 3/2 left bridge port 3/2
%PAGP-5-PORTTOSTP:Port 3/1 joined bridge port 3/1-2
%PAGP-5-PORTTOSTP:Port 3/2 joined bridge port 3/1-2
Console> (enable)

Enabling and Disabling the System syslog Dump

If the system fails, a file containing the system messages in the syslog buffer (as displayed when entering
the show logging buffer command) is produced.
To enable or disable the system syslog dump, perform this task in privileged mode (by default, the syslog
dump is disabled):
Task
Step 1
Enable or disable the system syslog dump.
Step 2
Verify the status of the system syslog dump.
This example shows how to enable the system syslog dump:
Console> (enable) set system syslog-dump enable
(1) In the event of a system crash, this feature will
cause a syslog file to be written out.
(2) Selected syslog file is slot0:sysloginfo
(3) Please make sure the above device has been installed,
and ready to use.
Syslog-dump enabled
Console> (enable)
OL-8978-04
Configuring the System Message Logging on the Switch
Command
show logging buffer [number_of_messages]
show logging buffer -[number_of_messages]
Command
set system syslog-dump {enable | disable}
show system
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
29-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents