- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
05-10-2017 12:31 PM - edited 03-01-2019 06:06 AM
How to SQUELCH SNMP TRAPS FOR INTERFACE TRANSITIONS ON LEAF NODES?
The following technote is written against Application Policy Infrastructure Controller Version 2.2(2f) Maintenance Release. The following is a use case scenario that was asked by a customer.
QUESTION
After looking at the Cisco Documentation and Technotes online regarding SNMP configuration for ACI, I do not see a way to suppress interface transitions for the ACI Leaf & Spine nodes using SNMP. In NXOS, we can use "no snmp trap link-status" on the interfaces. Is this possible with switches in ACI mode?
ANSWER
The customer wants to turn off SNMP Traps for the following OIDs.
Trap OID:
.iso.org.dod.internet.private.enterprises.cisco.ciscoMgmt.ciscoIfExtensionMIB.ciscoIfExtensionMIBNotifications.cieLinkDown
snmpTrapOID
[OID] cieLinkDown
Trap OID:
.iso.org.dod.internet.private.enterprises.cisco.ciscoMgmt.ciscoIfExtensionMIB.ciscoIfExtensionMIBNotifications.cieLinkUp
snmpTrapOID
[OID] cieLinkUp
In ACI, there is no equivalent CLI command "no snmp trap link-status" for individual or group of interfaces. SNMP in ACI currently does not support disabling/enabling of individual traps. By default, all supported traps are enabled.
That said, there is a workaround where you can squelch the events that send the cieLinkDown & cieLinkUp SNMP traps.
Event Code Identifiers:
[OID] cieLinkDown “EventCode = 4205126"
[OID] cieLinkUp “EventCode = 4205125"
Note: This workaround only applies to the front panel ports on the "Leaf" nodes. Fabric ports and Spine ports will continue to send SNMP traps for these events. This should not be an issue since this ports should not be transitioning as often or as frequently as the Leaf front panel ports.
Steps to “Squelch” SNMP Traps for cieLinkDown & cieLinkUp events
The following example shows ways to you can squelch the events that send the cieLinkDown & cieLinkUp SNMP traps for Leaf Nodes in the ACI Fabric.
<< DETAILS OF THIS EXAMPLE IS IN THE ATTACHED .PDF FILE >>
#ACI
#SNMP
#TRAP
#SQUELCH
#LEAF