I need to monitor some swiches if any interface changes port state.
Is there a way to do this with SNMP?
All suggestions are welcome.
Something as simple as the commands below should take care of that
snmp-server community public RO
snmp-server enable traps snmp linkdown linkup
yeah SNMP traps works. you can also enable logging link-status under the interface
Correct me if i'm wrong but i think that a interface that changes to the state Alternate will not generate a linkdown SNMP trap.
If you run "sh ip int br" you still see protocol up.
Sorry I didnt read your title more closely. Looking into it i perhaps this trap would help.
Use the snmp mib rep trap-rate global configuration command to configure the sending of SNMP traps when there is a link operational status or port role change
We use spanning tree not REL.
I am the only wan that wants to monitor spanning tree port role changes?
Try to use:
snmp-server enable traps bridge topologychange
It logs topology changes.
Log in /
to participate in the community & access resources like:
Learn more about The Cisco Learning Network and our Premium Subscription options.
Retrieving data ...