Chapter 24
Configuring System Message Logging
Command
Step 6
end
Step 7
show archive log config
This example shows how to enable the configuration-change logger and to set the number of entries in
the log to 500.
Switch(config)# archive
Switch(config-archive)# log config
Switch(config-archive-log-cfg)# logging enable
Switch(config-archive-log-cfg)# logging size 500
Switch(config-archive-log-cfg)# end
This is an example of output for the configuration log:
Switch# show archive log config all
idx
radius
Configuring UNIX Syslog Servers
The next sections describe how to configure the UNIX server syslog daemon and how to define the UNIX
system logging facility.
Logging Messages to a UNIX Syslog Daemon
Before you can send system log messages to a UNIX syslog server, you must configure the syslog
daemon on a UNIX server. This procedure is optional.
Log in as root, and perform these steps:
Some recent versions of UNIX syslog daemons no longer accept by default syslog packets from the
Note
network. If this is the case with your system, use the UNIX man syslogd command to decide what
options must be added to or removed from the syslog command line to enable logging of remote syslog
messages.
Add a line such as the following to the file /etc/syslog.conf:
Step 1
local7.debug /usr/adm/logs/
OL-23400-01
sess
user@line
38
11
unknown user@vty3
39
12
unknown user@vty3
40
12
unknown user@vty3
41
13
unknown user@vty3
42
14
temi@vty4
43
14
temi@vty4
44
14
temi@vty4
45
16
temi@vty5
46
16
temi@vty5
47
16
temi@vty5
Purpose
Return to privileged EXEC mode.
Verify your entries by viewing the configuration log.
Logged command
|no aaa authorization config-commands
|no aaa authorization network default group radius
|no aaa accounting dot1x default start-stop group
|no aaa accounting system default
|interface GigabitEthernet4/0/1
| switchport mode trunk
| exit
|interface FastEthernet5/0/1
| switchport mode trunk
| exit
cisco.log
Cisco ME 3800X and 3600X Switch Software Configuration Guide
Configuring System Message Logging
24-11
Need help?
Do you have a question about the 3845 - Security Bundle Router and is the answer not in the manual?
Questions and answers