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

Building network automation solutions

6 week online course

reserve a seat
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).

No comments:

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Sidebar