Chapter 10: Port Parameter Commands
238
SNMP TRAP LINK-STATUS
Syntax
snmp trap link-status
Parameter
None
Mode
Port Interface mode
Description
Use this command to activate SNMP link traps on the ports. The switch
sends an SNMP trap to an SNMP trap receiver on your network whenever
a port experiences a change in its link state.
To disable link traps on a port, refer to “NO SNMP TRAP LINK-STATUS”
on page 212.
For the switch to send SNMP traps, you must activate SNMP and
specify one or more trap receivers. For instructions, refer to Chapter
65, “SNMPv1 and SNMPv2c Commands” on page 1019 or Chapter
66, “SNMPv3 Commands” on page 1043.
Confirmation Command
“SHOW INTERFACE” on page 221
Example
This example activates link traps on port 22:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.22
awplus(config-if)# snmp trap link-status