Increase or change Cisco router log size

Home -> Networking -> Cisco -> Routers

7069 views

From the computer of: qmchenry (338 recipes)
Created: Jun 13, 2006


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

Messages logged by a router can make troubleshooting problems substantially easier. However, the default size of most Cisco routers is 4096 bytes which typically accomodates fewer than 60 messages. While this may help in many situations, adding some additional space can save the day when a router generates frequent error messages as when an interface state cycles up and down. This recipe describes the simple configuration to increase the size of the router log.

To increase the router log size to 24000 bytes, use the following commands (from enable mode):

conf t
logging buffered 24000


To check the current log size, use this command:

show logging
...
Log Buffer (24000 bytes)


It should be noted that memory you dedicate to the log is memory the router cannot use for routing. Larger routers with lots of memory can typically make due with less available memory. Smaller routers with less memory to spare can experience problems if the log size is too big.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Configuring OSPF on a Cisco router
  Configure Cisco router as a basic DHCP server
  Configure Cisco router to send messages to remote syslog server
  Clear or erase Cisco router log
  Change the enable password on a Cisco router
  How to enable local logging on a Cisco router.
  Set the hostname of a Cisco router
  Configure Cisco router to set time from NTP server
  Configure IGRP routing on a Cisco router
  Cisco IOS DST Daylight Savings Time Workaround

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.