08-18-2011 03:53 PM
Hi
Can I disable an especific log in a router. I know that I can change the level of logging but I would like to disable just one especific message instead to loss whole the messages in that level.
08-19-2011 02:33 AM
Hi,
I'm afraid this is not possible. Since that log is on the same logging level you have chosen you can't do anything on the router to stop logging it.
If you're running a syslog server, you need to find a syslog utility which filters the logs somehow.
Best regards,
Giorgos
08-19-2011 07:34 AM
There are some cases where this is possible. For example, "no logging event link-status" can be useful for ports whose up/down status is not useful to you.
That command is avaialble in variants such as:
switch(config-if)#no logging event ?
bundle-status BUNDLE/UNBUNDLE messages
link-status UPDOWN and CHANGE messages
nfas-status NFAS D-channel status messages
spanning-tree Spanning-tree Interface events
status Spanning-tree state change messages
subif-link-status Sub-interface UPDOWN and CHANGE messages
trunk-status TRUNK status messages
on a switch and
router(config-if)#no logging event ?
link-status UPDOWN and CHANGE messages
subif-link-status Sub-interface UPDOWN and CHANGE messages
on a router.
On an ASA firewall, one can disable individual log messages:
asa(config)# no logging message ?
configure mode commands/options:
<100000-999999> Specify a message number
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide