Defining The Message Severity Level (Optional) - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring System Message Logging
To enable sequence numbers in log messages, perform this task, which is optional.
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# service
sequence-numbers
Step 3
Switch(config)# end
Step 4
Switch# show running-config
Step 5
Switch# 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 (Optional)

You can limit messages displayed to the selected device by specifying the severity level of the message,
which are described in
To define the message severity level, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# logging console level
Step 3
Switch(config)# logging monitor level
Step 4
Switch(config)# logging trap level
Step 5
Switch(config)# end
Step 6
Switch# show running-config
or
Switch# show logging
Step 7
Switch# copy running-config startup-config
Note
Specifying a level causes messages at that level and numerically lower levels to be displayed at the
destination.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
58-8
Purpose
Enters global configuration mode.
Enables sequence numbers.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Table
58-3.
Purpose
Enters global configuration mode.
Limits messages logged to the console.
By default, the console receives debugging messages and
numerically lower levels (see
Limits messages logged to the terminal lines.
By default, the terminal receives debugging messages and
numerically lower levels (see
Limits 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
"Configuring UNIX Syslog Servers" section on page
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Chapter 58
Configuring System Message Logging
Table 58-3 on page
Table 58-3 on page
Table 58-3 on page
58-9).
58-9).
58-9).
58-10.
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents