Rate-Limit Console Logging

Someone made a really interesting remark on my Disable Console Logging blog post: Cisco IOS has log message rate limiting – all you need is the logging rate-limit configuration command.

You can rate-limit all logging messages or just the messages going to the console port (this one comes handy in case you don't want to disable console logging), and you can specify which messages should not be rate-limited with the except option.

For example, I could use logging rate-limit console 5 except notifications on my home router to rate limit the ACL logging messages (at informational level) while still getting the link up/down messages (at errors level) and line protocol up/down messages (at notifications level).

Add comment
Sidebar