Chapter 29
Configuring System Message Logging
Command
Step 4
show running-config
Step 5
copy running-config startup-config
To disable sequence numbers, use the no service sequence-numbers global configuration command.
This example shows part of a logging display with sequence numbers enabled:
000019: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
Defining the Message Severity Level
You can limit messages displayed to the selected device by specifying the severity level of the message,
which are described in
Beginning in privileged EXEC mode, follow these steps to define the message severity level. This
procedure is optional.
Command
Step 1
configure terminal
Step 2
logging console level
Step 3
logging monitor level
Step 4
logging trap level
Step 5
end
Step 6
show running-config
or
show logging
Step 7
copy running-config startup-config
Note
Specifying a level causes messages at that level and numerically lower levels to appear at the destination.
To disable logging to the console, use the no logging console global configuration command. To disable
logging to a terminal other than the console, use the no logging monitor global configuration command.
To disable logging to syslog servers, use the no logging trap global configuration command.
OL-26520-01
Purpose
Verify your entries.
(Optional) Save your entries in the configuration file.
Table
29-3.
Purpose
Enter global configuration mode.
Limit messages logged to the console.
By default, the console receives debugging messages and numerically
lower levels (see
Table 29-3 on page
Limit messages logged to the terminal lines.
By default, the terminal receives debugging messages and numerically
lower levels (see
Table 29-3 on page
Limit messages logged to the syslog servers.
By default, syslog servers receive informational messages and
numerically lower levels (see
For complete syslog server configuration steps, see the
UNIX Syslog Servers" section on page
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring System Message Logging
29-10).
29-10).
Table 29-3 on page
29-10).
"Configuring
29-12.
29-9