C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1665
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
SNMP C
OMMANDS
SNMP
TRAP
LINK
-
STATUS
snmp trap link-status
Overview
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 [enterprise]
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. To
configure the device globally to send other notifications, use the
snmp-server
enable trap
command.
Examples
To enable SNMP to send link status notifications for ports 1.0.2 to 1.0.6, use
following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2-1.0.6
awplus(config-if)#
snmp trap link-status
To enable SNMP to send an Allied Telesis enterprise type of link status notification
for port1.0.1, use following commands:
awplus#
configure terminal
awplus(config)#
interface 1.0.1
awplus(config-if)#
snmp trap link-status enterprise
To disable the sending of link status notifications for port 1.0.2, use following
commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
no snmp trap link-status
Parameter
Description
enterprise
Send an Allied Telesis enterprise type of link trap.