beautypg.com

Snmp trap link-status – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1792

background image

SNMP Commands

Software Reference for x310 Series Switches

68.10

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

snmp trap link-status

Use this command to enable SNMP to send link status notifications (traps) for the
interfaces when an interface goes up (linkUp) or down (linkDown).

Use the no variant of this command to disable the sending of link status notifications.

Syntax

snmp trap link-status

no snmp trap link-status

Default

By default, link status notifications are disabled.

Mode

Interface Configuration

Usage

The link status notifications can be enabled for the following interface types:

switch port (e.g. port 1.0.1)

VLAN (e.g. vlan2)

static and dynamic link aggregation (e.g. sa2, po2)

To specify where notifications are sent, use the

snmp-server host command on page

68.25

. To configure the switch globally to send other notifications, use the

snmp-server

enable trap command on page 68.19

.

Examples

To enable SNMP to send link status notifications for ports 1.0.2 to 1.0.6, use following
commands:

To disable the sending of link status notifications for port 1.0.2, use following commands:

Related Commands

show interface

snmp trap link-status suppress
snmp-server enable trap
snmp-server host

awplus#

configure terminal

awplus(config)#

interface port1.0.2-1.0.6

awplus(config-if)#

snmp trap link-status

awplus#

configure terminal

awplus(config)#

interface port1.0.2

awplus(config-if)#

no snmp trap link-status