Monitoring And Maintaining System Message Logs; Monitoring Configuration Archive Logs; Configuration Examples For System Message Logs; Example: Stacking System Message - Cisco Catalyst 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Configuring System Message Logs
Step 3

Monitoring and Maintaining System Message Logs

Monitoring Configuration Archive Logs

Command
show archive log config {all | number
[end-number] | user username [session
number] number [end-number] | statistics}
[provisioning]

Configuration Examples for System Message Logs

Example: Stacking System Message

This example shows a partial switch system message for an active switch and a stack member (hostname
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)
Command or Action
Make sure the syslog daemon reads the new
changes.
Example:
$ kill -HUP `cat /etc/syslog.pid`
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)
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
Monitoring and Maintaining System Message Logs
Purpose
For more information, see the man syslog.conf
and man syslogd commands on your UNIX
system.
Purpose
Displays the entire configuration log or the log for specified
parameters.
269

Advertisement

Table of Contents
loading

Table of Contents