beautypg.com

Snmp trap link-status – Allied Telesis AT-9000 Series User Manual

Page 238

background image

Chapter 10: Port Parameter Commands

210

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 184.

Note

For the switch to send SNMP traps, you must activate SNMP and
specify one or more trap receivers. For instructions, refer to Chapter
63, “SNMPv1 and SNMPv2c Commands” on page 945 or Chapt
er
64, “SNMPv3 Commands” on page 969.

Confirmation Command

“SHOW INTERFACE” on page 193

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