beautypg.com

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

Page 251

background image

AT-8100 Switch Command Line User’s Guide

251

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

Note

For the switch to send SNMP traps, you must activate SNMP and
specify one or more trap receivers. For instructions, refer to Chapter
74, “SNMPv1 and SNMPv2c Commands” on page 1155 o
r Chapter
75, “SNMPv3 Commands” on page 1179.

Confirmation Command

“SHOW INTERFACE” on page 234

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