cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
802
Views
0
Helpful
2
Replies

Disable especific log

Douglas Barboza
Level 1
Level 1

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.

2 Replies 2

garapoglou
Level 3
Level 3

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

Marvin Rhoads
Hall of Fame
Hall of Fame

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


Review Cisco Networking for a $25 gift card