Enabling And Disabling The Logging Time-Stamp Enable State; Setting The Logging Buffer Size; Limiting The Number Of Syslog Messages - 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

Enabling and Disabling the Logging Time-Stamp Enable State

To enable or disable the logging time-stamp state, perform this task in privileged mode:
Task
Step 1
Enable or disable the logging time-stamp state.
Step 2
Verify the logging time-stamp state.
This example shows how to enable the time-stamp display on the system logging messages:
Console> (enable) set logging timestamp enable
System logging messages timestamp will be enabled.
Console> (enable)

Setting the Logging Buffer Size

To set the number of messages to log to the logging buffer, perform this task in privileged mode:
Task
Step 1
Set the number of messages to log to the logging
buffer.
Step 2
Verify the system message logging configuration. show logging [noalias]
This example shows how to set the logging buffer size to 200 messages:
Console> (enable) set logging buffer 200
System logging buffer size set to <200>
Console> (enable)

Limiting the Number of syslog Messages

You can limit the number of syslog messages that are sent to the history table and the SNMP network
management station based on the severity. The default severity is set to warnings(4).
To limit the number of syslog messages, perform this task in privileged mode:
Task
Step 1
Limit the number of syslog messages.
Step 2
Verify the system message logging configuration. show logging
This example shows how to limit the number of syslog messages to the messages with a severity level
of notifications(5):
Console> (enable) set logging history severity 5
System logging history set to severity <5>
Console> (enable)
OL-8978-04
Configuring the System Message Logging on the Switch
Command
set logging timestamp {enable | disable}
show logging [noalias]
Command
set logging buffer buffer_size
Command
set logging history severity severity_level
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
29-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents