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

Start now!
back to overview

Count the logging messages

I haven't figured out why I would need this particular IOS feature (IOS documentation says you can at least get a glimpse of what was happening before the logging buffer wrapped over), but it's such a cool one I simply have to mention it ... starting with release 12.2(8)T and 12.3, IOS can tabulate the occurence of each log message.You configure this feature with the logging count global configuration command and inspect its results with the show logging count command:
a1#show logg count
Facility Message Name Sev Occur Last Time
============================================================
SYS CONFIG_I 5 4 *Jan 16 11:32:57.130
------------- -------------- ------------------------------
SYS TOTAL 4

OSPF ADJCHG 5 2 *Jan 16 11:31:26.434
------------- -------------- ------------------------------
OSPF TOTAL 2

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