Configuring The System Message Logging Levels - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 37
Configuring System Message Logging
Note
If you enter the set logging session command while you are 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 you are connected through a Telnet session, the default console
logging enable state is changed.
To configure the logging enable state for console sessions, perform this task in privileged mode:
Task
Step 1
Configure the default logging enable state for
console sessions.
Step 2
Verify the logging configuration.
This example shows how to configure the logging disabled state for 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. 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 use the default keyword, the specified severity level
applies only to the current session.
To change 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]
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Configuring System Message Logging on the Switch
Command
set logging console {enable | disable}
show logging [noalias]
Command
set logging session {enable | disable}
show logging [noalias]
Command
set logging level {all | facility} severity [default]
37-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents