Logging all changes made to a router

August 16, 2008 at 3:54 pm | Posted in Blogroll, IOS services | Leave a comment

The task is to configure the router to log all changes made to the running configuration, and to send the logs to a syslog server. If the syslog server is not availble, log the change locally for a max of 500 entries.

log config
logging enable
logging size 500
notify syslog

! Testing, enter a command, then remove it after ward
ip dhcp excluded-address
no ip dhcp excluded-address

RSRack1R6#sh archive log config all
idx   sess           user@line      Logged command
1     1        console@console  |  logging enable
2     1        console@console  |  logging size 500
3     1        console@console  |  notify syslog
4     1        console@console  |  exit
5     1        console@console  |   exit
6     1        console@console  |logging
7     2        console@console  |ip dhcp excluded-address
8     3        console@console  |no ip dhcp excluded-address
Doc CD Navigation

  • Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.4
  • Part 8: Managing Configuration Files
  • Configuration Change Notification and Logging
  • Configuration Examples for the Configuration Change Notification and Logging Feature

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: