Field
Remote:
Actor Partner
Priority Oper-Key
SystemID Flag
enable snmp trap updown
Syntax
enable snmp trap updown
undo enable snmp trap updown
View
Layer-2 aggregate interface view
Default Level
2: System level
Parameters
None
Description
Use the enable snmp trap updown command to enable linkUp/linkDown trap generation for the
current aggregate interface.
Use the undo enable snmp trap updown command to disable linkUp/linkDown trap generation for
the current aggregate interface.
By default, linkUp/linkDown trap generation is enabled for an aggregate interface.
Note that for an aggregate interface to generate linkUp/linkDown traps when its link state changes, you
must also enable linkUp/linkDown trap generation globally with the snmp-agent trap enable
[ standard [ linkdown | linkup ] * ] command.
Refer to SNMP Commands in the System Volume for information about the snmp-agent trap enable
command.
Examples
# Enable linkUp/linkDown trap generation on interface Bridge-aggregation 1.
<Sysname> system-view
[Sysname] snmp-agent trap enable
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] enable snmp trap updown
interface bridge-aggregation
Syntax
interface bridge-aggregation interface-number
Detailed information about the remote end, including the corresponding
local port, port ID, port LACP priority, operational key, system ID, and
LACP protocol state flags
2-10
Description