O'Reilly logo

Understanding the Network: A Practical Guide to Internetworking by Martin J. Michael

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Up Buffered Logging

To set up buffered logging, you first need to enable it. Then the local DRAM allocation and logging event history needs to be set. All logging parameters are set in global configuration mode:

local-AS(config)#logging on
local-AS(config)#logging buffered 64000
local-AS(config)#logging history size 250

In the example above, all logging has been enabled, a local buffer of 64K has been allocated, and up to 250 logging messages will be stored in the buffer (the maximum is 500). The buffer logfile is a rotating one, so once the message count has reached its limit, it starts to overwrite itself, deleting the last message in the file as new messages are added. To view logging information, use the privileged EXEC command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required