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:
•
•
•
To specify where notifications are sent, use the
configure the device globally to send other notifications, use the
enable trap
Examples
To enable SNMP to send link status notifications for ports 1.0.2 to 1.0.6, use
following commands:
awplus#
awplus(config)#
awplus(config-if)#
To enable SNMP to send an Allied Telesis enterprise type of link status notification
for port1.0.1, use following commands:
awplus#
awplus(config)#
awplus(config-if)#
To disable the sending of link status notifications for port 1.0.2, use following
commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50103-01 REV A
Parameter
Description
enterprise
Send an Allied Telesis enterprise type of link trap.
switch port (e.g. port 1.0.1)
VLAN (e.g. vlan2)
static and dynamic link aggregation (e.g. sa2, po2)
command.
configure terminal
interface port1.0.2-1.0.6
configure terminal
interface 1.0.1
configure terminal
interface port1.0.2
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
snmp trap link-status
snmp trap link-status enterprise
no snmp trap link-status
snmp-server host
command. To
snmp-server
2285