S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
31-13
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 31 Configuring SNMP
SNMP Trap and Inform Notifications
•
IEFT extended—Only notifications (linkUp, linkDown) defined in IF-MIB are sent for an interface,
if ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. In addition to the
varbinds defined in the notification definition, varbinds defined in the IF-MIB specific to the Cisco
Systems implementation are sent. This is the default setting.
•
IEFT Cisco—Only notifications (linkUp, linkDown) defined in IF-MIB and notifications
(cieLinkUp, cieLinkDown) defined in CISCO-IF-EXTENSION-MIB.my are sent for an interface,
if ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. Only the varbinds
defined in the notification definition are sent with the linkUp and linkDown notifications.
•
IEFT extended Cisco—Only notifications (linkUp, linkDown) defined in IF-MIB and notifications
(cieLinkUp, cieLinkDown) defined in CISCO-IF-EXTENSION-MIB.my are sent for an interface,
if ifLinkUpDownTrapEnable (defined in IF-MIB) is enabled for that interface. In addition to the
varbinds defined in linkUp and linkDown notification definition, varbinds defined in the IF-MIB
specific to the Cisco Systems implementation are sent with the linkUp and linkDown notifications.
Note
For more information on the varbinds defined in the IF-MIB specific to the Cisco Systems
implementation, refer to the
Cisco MDS 9000 Family MIB Quick Reference.
To configure the linkUp/linkDown notification for a switch, follow these steps:
Configuring Up/Down SNMP Link-State Traps for Interfaces
By default, SNMP link-state traps are enabled for all interfaces. Whenever a link toggles its state from
Up to Down or vice versa, an SNMP trap is generated.
In some instances, you may find that you have numerous switches with hundreds of interfaces, many of
which do not require monitoring of the link state. In such cases, you may elect to disable link-state traps.
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 1
switch(config)#
snmp-server enable traps
link
Enables (default) only IETF extended
linkUp/linkDown notifications.
switch(config)#
snmp-server enable traps
link cisco
Enables only Cisco Systems defined
cieLinkUp/cieLinkDown notifications.
switch(config)#
snmp-server enable traps
link ietf
Enables only IETF linkUp/linkDown notifications.
switch(config)#
snmp-server enable traps
link ietf-extended
Enables (default) only IETF extended
linkUp/linkDown notifications with extra
varbinds.
switch(config)#
snmp-server enable traps
link ietf cisco
Enables IETF (linkUp/linkDown) and Cisco
Systems defined (cieLinkUp/cieLinkDown)
notifications.
switch(config)#
snmp-server enable traps
link ietf-extended cisco
Enables IEFT (linkUp/linkDown) notifications
with extra varbinds and Cisco Systems defined
(cieLinkUp/cieLinkDown) notifications.
switch(config)#
no snmp-server enable traps
link
Reverts to the default setting (IETF extended).