Your browser failed to load CSS style sheets. Your browser or web proxy might not support elliptic-curve TLS

Building network automation solutions

9 module online course

Start now!
back to overview

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

Please read our Blog Commenting Policy before writing a comment.

No comments:

Constructive courteous comments are most welcome. Anonymous trolling will be removed with prejudice.