Home Vendor Cisco [Cisco] How to enable Log and logging buffer

When you got an outage, you want to see a log first on your device. Well, if you have NMS or SNMP tool, you prefer to see the log. It would be just me, but I like to see a log data on device which was directly involved with the outage. One of reason is that I don't trust message from somebody is few step away from the event. Actually, I did see few cases that monitoring system had issue itself or issue on route path to reach the monitoring system.

By the say, even if your device didn't setup log option, you will be frustrated in order to figure out what was happening.

Here is simple way to enable log function on your device(Cisco in this case)

Router# config t
Router(config)# service timestamps debug datetime localtime msec
Router(config)# service timestamps log datetime localtime msec
Router(config)# logging buffered
Router(config)# ^Z


Default logging buffer size will be 4096 which is okay, but if you have a lot of links and heavy user then increase the value.
Below example show logging buffered size to 8192

Router(config)# logging buffered 8192
Router(config)# ^Z


Last Updated (Wednesday, 06 May 2009 18:48)

Smart Link
Content View Hits : 2152192
Related Items
Highly recommended firewall vendor?
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
World Route Servers
Who's Online
We have 84 guests online