62
Default level
2: System level
Parameters
None
Description
Use the
enable snmp trap updown
command to enable link state trapping for the aggregate interface.
Use the
undo enable snmp trap updown
command to disable link state trapping for the aggregate
interface.
By default, link state trapping is enabled for an aggregate interface.
With the link state trapping function enabled, an aggregate interface generates linkUp trap messages
when its link goes up, and linkDown trap messages when its link goes down.
For an aggregate interface to generate linkUp/linkDown traps when its link state changes, you must also
enable link state trapping globally with the
snmp-agent trap enable
[
standard
[
linkdown
|
linkup
] * ]
command.
For more information about the
snmp-agent trap enable
command, see the
Network Management and
Monitoring Command Reference
.
Examples
# Enable linkUp/linkDown trap generation on Layer 2 aggregate 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
undo interface bridge-aggregation
interface-number
View
System view
Default level
2: System level
Parameters
interface-number
: Specifies a Layer 2 aggregate interface number, ranging from 1 to 26.
Description
Use the
interface bridge-aggregation
command to create a Layer 2 aggregate interface and enter the
Layer 2 aggregate interface view.
Use the
undo
interface bridge-aggregation
command to remove a Layer 2 aggregate interface.
When a Layer 2 aggregate interface is created, a Layer 2 aggregation group with the same number is
automatically created. If you remove the Layer 2 aggregate interface, you also remove the Layer 2