C H A P T E R 29 Configuring System Message Logging - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Chapter 29
Configuring System Message Logging
Table 29-1
Table 29-1 System Log Message Elements
Element
seq no:
timestamp formats:
mm/dd hh:mm:ss
or
hh:mm:ss (short uptime)
or
d h (long uptime)
facility
severity
MNEMONIC
description
hostname-n
This example shows a partial switch system message for a stack master and a stack member (host name
Switch-2):
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to up
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/2, changed state to up
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/1, changed
state to down 2
*Mar
18:47:02: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
*Mar
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up (Switch-2)
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/1, changed state to up (Switch-2)
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/2, changed state to up (Switch-2)
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
(Switch-2)
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/1, changed
state to down 2 (Switch-2)
78-16180-02
describes the elements of syslog messages.
Description
Stamps log messages with a sequence number only if the service sequence-numbers global
configuration command is configured.
For more information, see the
section on page
29-8.
Date and time of the message or event. This information appears only if the service timestamps
log [datetime | log] global configuration command is configured.
For more information, see the
on page
29-7.
The facility to which the message refers (for example, SNMP, SYS, and so forth). For a list of
supported facilities, see
Table 29-4 on page
Single-digit code from 0 to 7 that is the severity of the message. For a description of the severity
levels, see
Table 29-3 on page
Text string that uniquely describes the message.
Text string containing detailed information about the event being reported.
Host name of a stack member and its switch number in the stack. Though the stack master is a
stack member, it does not append its host name to system messages.
1 18:46:11: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
1 18:48:50.483 UTC: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
"Enabling and Disabling Sequence Numbers in Log Messages"
"Enabling and Disabling Time Stamps on Log Messages" section
29-13.
29-10.
Catalyst 3750 Switch Software Configuration Guide
Configuring System Message Logging
29-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents