Setting The System Message Logging Levels; Enabling And Disabling The Logging Time Stamp Enable State; Setting The Logging Buffer Size - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Configuring System Message Logging

Setting the System Message Logging Levels

You can set the severity level for each logging facility using the set logging level command. Enter the
all keyword to specify all facilities. Enter the default keyword to make the specified severity level the
default for the specified facilities. If you do not enter the default keyword, the specified severity level
applies only to the current session.
To set the system message logging severity level setting for a logging facility, perform this task in
privileged mode:
Task
Step 1
Set the severity level for logging facilities.
Step 2
Verify the system message logging configuration. show logging [noalias]
This example shows how to set the logging severity level to 5 for all facilities (for the current session
only):
Console> (enable) set logging level all 5
All system logging facilities for this session set to severity 5(notifications)
Console> (enable)
This example shows how to set the default logging severity level to 3 for the cdp facility:
Console> (enable) set logging level cdp 3 default
System logging facility <cdp> set to severity 3(errors)
Console> (enable)

Enabling and Disabling the Logging Time Stamp Enable State

To enable or disable the logging time stamp, 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 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]
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
27-6
Chapter 27
Configuring System Message Logging
Command
set logging level {all | facility} severity [default]
Command
set logging timestamp {enable | disable}
show logging [noalias]
Command
set logging buffer buffer_size
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents