Configuring Unix Syslog Servers; Logging Messages To A Unix Syslog Daemon - Cisco 3750G - Catalyst Integrated Wireless LAN Controller Configuration Manual

Software configuration guide
Hide thumbs Also See for 3750G - Catalyst Integrated Wireless LAN Controller:
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.

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:
Catalyst 3750 Switch Software Configuration Guide
30-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 30
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-8550-02

Advertisement

Table of Contents
loading

Table of Contents