hit counter script

Cisco IE 3000 Software Configuration Manual page 519

Table of Contents

Advertisement

Chapter 28
Configuring System Message Logging
Use the show archive log config {all | number [end-number] | user username [session number] number
[end-number] | statistics} [provisioning] privileged EXEC command to display the complete
configuration log or the log for specified parameters.
The default is that configuration logging is disabled.
For information about the commands, see the Cisco IOS Configuration Fundamentals and Network
Management Command Reference, Release 12.3 T at this URL:
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command_reference_chapter0918
6a00801a8086.html#wp1114989
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
OL-13018-01
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
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
Cisco IE 3000 Switch Software Configuration Guide
Configuring System Message Logging
28-11

Advertisement

Table of Contents
loading

Table of Contents