Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
• IEFT extended—Cisco NX-OS sends only the IETF-defined notifications (linkUp, linkDown defined
in IF-MIB), if ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. Cisco NX-OS
adds additional varbinds specific to Cisco Systems in addition to the varbinds defined in the IF-MIB.
This is the default setting.
• IEFT Cisco—Cisco NX-OS sends the notifications (linkUp, linkDown) defined in IF-MIB and
notifications (cieLinkUp, cieLinkDown) defined in CISCO-IF-EXTENSION-MIB.my , if
ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. Cisco NX-OS sends only
the varbinds defined in the linkUp and linkDown notifications.
• IEFT extended Cisco—Cisco NX-OS sends the notifications (linkUp, linkDown) defined in IF-MIB
and notifications (cieLinkUp, cieLinkDown) defined in CISCO-IF-EXTENSION-MIB.my, if
ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. Cisco NX-OS adds additional
varbinds specific to Cisco Systems in addition to the varbinds defined in the IF-MIB for the linkUp and
linkDown notifications.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enables the link SNMP notifications.switch(config)# snmp-server enable traps link
[cisco] [ietf | ietf-extended]
Step 2
Disabling Link Notifications on an Interface
You can disable linkUp and linkDown notifications on an individual interface. You can use this limit
notifications on flapping interface (an interface that transitions between up and down repeatedly).
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies the interface to be changed.
switch(config)# interface type slot/port
Step 2
Disables SNMP link-state traps for the
interface. Enabled by default.
switch(config -if)# no snmp trap
link-status
Step 3
Enabling One-Time Authentication for SNMP over TCP
You can enable a one-time authentication for SNMP over a TCP session.
PurposeCommand
Enables a one-time authentication for SNMP over a
TCP session. Default is disabled.
switch(config)# snmp-server tcp-session [auth]
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
384 OL-16597-01
Configuring SNMP
Disabling Link Notifications on an Interface