EasyManuals Logo
Home>Cisco>Switch>Catalyst 9200

Cisco Catalyst 9200 User Manual

Cisco Catalyst 9200
276 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #144 background imageLoading...
Page #144 background image
PurposeCommand or Action
local7.debug /usr/adm/logs/cisco.log
• debug—Specifies the syslog level. The file must
already exist, and the syslog daemon must have
permission to write to it.
Creates the log file. The syslog daemon sends messages at
this level or at a more severe level to this file.
Enter these commands at the UNIX shell prompt.
Example:
Step 2
$ touch /var/log/cisco.log
$ chmod 666 /var/log/cisco.log
For more information, see the man syslog.conf and man
syslogd commands on your UNIX system.
Make sure the syslog daemon reads the new changes.
Example:
Step 3
$ kill -HUP `cat /etc/syslog.pid`
Monitoring and Maintaining System Message Logs
Monitoring Configuration Archive Logs
PurposeCommand
Displays the entire configuration log or the log for specified
parameters.
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 active stack 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 1 18:46:11: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
18:47:02: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
*Mar 1 18:48:50.483 UTC: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up (Switch-2)
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
130
Configuring System Message Logs
Monitoring and Maintaining System Message Logs

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 9200 and is the answer not in the manual?

Cisco Catalyst 9200 Specifications

General IconGeneral
BrandCisco
ModelCatalyst 9200
CategorySwitch
LanguageEnglish

Related product manuals