Chapter 14
L Commands
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
link-state-trap
To enable an SNMP link state trap on an interface, use the link-state-trap command in interface
configuration submode. To disable an SNMP link state trap, use the no form of the command.
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled.
Command Modes
Interface configuration submode.
Command History
Release
3.1(2)
Usage Guidelines
None.
Examples
The following example shows how to enable an SNMP link state trap on interface bay2:
switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# interface bay 2
switch(config-if)# link-state-trap
The following example shows how to disable an SNMP link state trap on interface bay2:
switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# interface bay 2
switch(config-if)# no link-state-trap
Related Commands
Command
show interface
OL-18089-01, Cisco MDS NX-OS Release 4.x
link-state-trap
no link-state-trap
Modification
This command was introduced.
Description
Displays interface information.
Cisco MDS 9000 Family Command Reference
link-state-trap
14-11