Configuring Unix Syslog Servers - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring System Message Logging
Beginning in privileged EXEC mode, follow these steps to enable configuration logging:
Command
Step 1
configure terminal
Step 2
archive
Step 3
log config
Step 4
logging enable
Step 5
logging size entries
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
38
39
40
radius
41
42
43
44
45
46
47

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.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
29-12
Purpose
Enter global configuration mode.
Enter archive configuration mode.
Enter configuration-change logger configuration mode.
Enable configuration change logging.
(Optional) Configure the number of entries retained in the configuration
log. The range is from 1 to 1000. The default is 100.
Note
Return to privileged EXEC mode.
Verify your entries by viewing the configuration log.
sess
user@line
11
unknown user@vty3
12
unknown user@vty3
12
unknown user@vty3
13
unknown user@vty3
14
temi@vty4
14
temi@vty4
14
temi@vty4
16
temi@vty5
16
temi@vty5
16
temi@vty5
Chapter 29
When the configuration log is full, the oldest log entry is removed
each time a new entry is entered.
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
Configuring System Message Logging
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents