Cisco WS-C4003 Software Guide - Page 465
Configuring the System Message Logging Levels
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 465 highlights
Chapter 33 Configuring System Message Logging 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: Step 1 Step 2 Task Change the default logging enable state for console sessions. Verify the logging configuration. Command set logging console {enable | disable} show logging [noalias] 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: Step 1 Step 2 Task Change the logging enable state for a Telnet session. Verify the logging configuration. Command set logging session {enable | disable} show logging [noalias] 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 33-5