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 ...

Get Understanding the Network: A Practical Guide to Internetworking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.