Configuring SNMP
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
•
•
To configure the type of linkUp/linkDown notifications in a global configuration mode, perform this
task:
Command
switch(config)# snmp-server enable traps
link [cisco] [ietf | ietf-extended]
Disabling Up/ Down 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).
To disable linkUp/linkDown notifications for the interface in interface configuration mode, perform this
task:
Command
switch(config-if)# no snmp trap link-status
Enabling One-Time Authentication for SNMP over TCP
You can enable a one-time authentication for SNMP over a TCP session.
To enable one-time authentication for SNMP over TCP in global configuration mode, perform this task:
Command
switch(config)# snmp-server tcp-session
[auth]
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
27-10
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.
Chapter 27
Purpose
Enables the link SNMP notifications.
Purpose
Disables SNMP link-state traps for the interface.
Enabled by default.
Purpose
Enables a one-time authentication for SNMP over
a TCP session. Default is disabled.
Configuring SNMP
OL-16597-01