cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14266
Views
15
Helpful
4
Replies

Stop logging of Port up/down

ahmad82pkn
Level 3
Level 3

Hi,

We have our remote offices Core switches pointing to our syslog.

Problem is that those Core switches has servers/printers that keep going up/down through out the day , and we see ports up/down alert on syslog.

We want to stop receiving port up/down message on syslog.

one option is to disable logging of the ports with command no logging event link-status.

but it also stops logging of port up/down event in buffer, even if someone admin shutdown the port, buffer will not have that log.

How can i have logging still available for ports going up/down in buffer, but dont receive it in syslog server?

4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

The answer depends on your switch model a little.  Try applying this interface configuration:

interface Gigabit a/b/c
no logging event link-status 

Oops, silly me.  You specifically mention this in your post.

Paul Bundschuh
Level 1
Level 1

One workaround it to keep using your "no logging event link-status" status on the ports, but also configure buffer/syslog logging of all configuration changes, which would record any admin shutdown port changes (along with all other config changes). We use this on our routers and switches - it will put messages in the buffer and to any remote syslog server you have configured:

 

archive

  log config

    logging enable

    notify syslog content type plaintext

    hidekeys

Review Cisco Networking for a $25 gift card