cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
1
Replies

snmp-global vs. interface commands

suelange
Level 1
Level 1

First, I'm not clear on which is correct:

"snmp-server enable traps snmp linkup linkdown" OR

"snmp trap link-status"

Even the most current documents seem to reference both though I think the "link-status" version is supposed to be out of date.

But the real question is, if I only want to monitor a few ports out of a huge stack, can I just issue the "snmp trap link-status" on those ports or must I turn SNMP traps on globally then go back to every one of a hundred other ports and turn it off again?

1 Reply 1

David Stanford
Cisco Employee
Cisco Employee

Two levels of Controls are applied to the LINK UP/DOWN Traps.

1. At SNMP Level

2. At interface Level

At interface Level the LINK UP/DOWN Traps are enabled by default. (snmp trap link-status)

But at SNMP level no traps are enabled by default.

So even if at the interface level LINK UP Traps are enabled , unless "snmp-server enable traps snmp linkup linkdown" is configured, SNMP Agent doesn't allow the LINK UP/DOWN traps to go out.

Which means you would then have to go disable interfaces as you thought.

Review Cisco Networking for a $25 gift card