snmp-global vs. interface commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2008 08:59 AM - edited 03-05-2019 08:59 PM
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?
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2008 12:56 PM
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.
