Configuring The System Message Logging On The Switch; Enabling And Disabling The Session Logging Settings - 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

Configuring the System Message Logging on the Switch

These sections describe how to configure the system message logging on the switch:

Enabling and Disabling the Session Logging Settings

By default, the system logging messages are sent to the console and Telnet sessions that are based on the
default logging facility and severity values. If desired, you can disable logging to the console or logging
to a given Telnet session.
When you disable or enable logging to the console sessions, the enable state is applied to all future
console sessions. For example, if you disable logging to the console, disconnect from the console port,
and later reconnect, logging is still disabled for the console.
When you disable or enable logging to a Telnet session, the enable state is applied only to that session.
If you disable logging to a Telnet session, disconnect the session, and later reconnect, logging is enabled
for the new session.
If you enter the set logging session command while connected through the console port, the command
Note
has the same effect as entering the set logging console command. However, if you enter the set logging
console command while you are connected through a Telnet session, the default console logging enable
state is changed.
To enable or disable the logging state for the console sessions, perform this task in privileged mode:
Task
Step 1
Enable or disable the default logging state for the
console sessions.
Step 2
Verify the logging configuration.
OL-8978-04
Enabling and Disabling the Session Logging Settings, page 29-5
Setting the System Message Logging Levels, page 29-6
Enabling and Disabling the Logging Time-Stamp Enable State, page 29-7
Setting the Logging Buffer Size, page 29-7
Limiting the Number of syslog Messages, page 29-7
Configuring the syslog Daemon on a UNIX syslog Server, page 29-8
Configuring the syslog Servers, page 29-8
Displaying the Logging Configuration, page 29-9
Displaying the System Messages, page 29-11
Enabling and Disabling the System syslog Dump, page 29-11
Specifying the System syslog Dump Flash Device and Filename, page 29-12
Configuring the System Message Logging on the Switch
Command
set logging console {enable | disable}
show logging [noalias]
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
29-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents