beautypg.com

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

Page 246

background image

Chapter 10: Port Parameter Commands

246

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

Note

For the switch to send SNMP traps, you must activate SNMP and
specify one or more trap receivers. For instructions, refer to Chapter
72, “SNMPv1 and SNMPv2c Commands” on page 1133 or Chap
ter
73, “SNMPv3 Commands” on page 1157.

Confirmation Command

“SHOW INTERFACE” on page 229

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