Enabling And Disabling Sequence Numbers In Log Messages; Defining The Message Severity Level - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Configuring System Message Logging
This example shows part of a logging display with the service timestamps log uptime global
configuration command enabled:
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up

Enabling and Disabling Sequence Numbers in Log Messages

Because there is a chance that more than one log message can have the same time stamp, you can display
messages with sequence numbers so that you can unambiguously see a single message. By default,
sequence numbers in log messages are not displayed.
Beginning in privileged EXEC mode, follow these steps to enable sequence numbers in log messages.
This procedure is optional.
Command
Step 1
configure terminal
Step 2
service sequence-numbers
Step 3
end
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
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
29-8
Purpose
Enter global configuration mode.
Enable sequence numbers.
Return to privileged EXEC mode.
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
Chapter 29
Configuring System Message Logging
29-9).
29-9).
OL-8915-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents