H3C Technologies H3C S12500 Series Switches User Manual
Page 131

118
Enabling link state trapping for an aggregate interface
You can configure an aggregate interface to generate linkUp trap messages when its link goes up and
linkDown trap messages when its link goes down. For more information, see Network Management and
Monitoring Configuration Guide.
To enable link state trapping on an aggregate interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the trap function
globally.
snmp-agent trap enable [ standard
[ linkdown | linkup ] * ]
Optional.
By default, link state trapping is
enabled globally and on all
interfaces.
3.
Enter aggregate interface
view.
•
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
•
Enter Layer 3 aggregate
interface/subinterface view:
interface route-aggregation
{ interface-number |
interface-number.subnumber }
Use either command.
4.
Enable link state trapping
for the aggregate
interface.
enable snmp trap updown
Optional.
By default, link state trapping is
enabled for the aggregate
interface.
Limiting the number of Selected ports for an aggregation group
CAUTION:
•
For static aggregation groups, the minimum and maximum numbers of Selected ports for the two ends must be
consistent.
•
Configuring the minimum number of Selected ports required to bring up an aggregation group might cause all
the member ports in the aggregation group to become unselected.
•
Configuring the maximum number of Selected ports in an aggregation group might cause some of the selected
member ports in the aggregation group to become unselected.
•
If you configure both the maximum and minimum numbers of Selected ports allowed in an aggregation group,
make sure that the former is no smaller than the latter.
The bandwidth of an aggregate link increases along with the number of selected member ports. To avoid
congestion caused by insufficient Selected ports on an aggregate link, you can set the minimum number
of Selected ports required for bringing up the specific aggregate interface.
This minimum threshold setting affects the aggregation state of both aggregation member ports and the
aggregate interface: