Configuring The System Message Logging Levels - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 33
Configuring System Message Logging
When you disable or enable logging to 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.
In contrast, 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.
Note
If you enter the set logging session command while connected through the console port, the command
has the same effect as entering the set logging console command. However, if you enter the set logging
console command while connected through a Telnet session, the default console logging enable state is
changed.
To change the logging enable state for console sessions, perform this task in privileged mode:
Task
Step 1
Change the default logging enable state for
console sessions.
Step 2
Verify the logging configuration.
This example shows how to disable logging to the current and future console sessions:
Console> (enable) set logging console disable
System logging messages will not be sent to the console.
Console> (enable)
To change the logging enable state for the current Telnet session, perform this task in privileged mode:
Task
Step 1
Change the logging enable state for a Telnet
session.
Step 2
Verify the logging configuration.
This example shows how to disable logging to the current Telnet session:
Console> (enable) set logging session disable
System logging messages will not be sent to the current login session.
Console> (enable)

Configuring the System Message Logging Levels

You can change the severity level for each logging facility using the set logging level command. Use the
all keyword to specify all facilities. Use the default keyword to make the specified severity level the
default for the specified facilities. If you do not use the default keyword, the specified severity level
applies only to the current session.
78-12647-02
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Configuring System Message Logging
Command
set logging console {enable | disable}
show logging [noalias]
Command
set logging session {enable | disable}
show logging [noalias]
33-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents