101
link-aggregation selected-port maximum
Use link-aggregation selected-port maximum to set the maximum number of Selected
ports allowed in an aggregation group.
Use undo link-aggregation selected-port maximum to restore the default.
Syntax
link-aggregation selected-port maximum max-number
undo link-aggregation selected-port maximum
Default
The maximum number of Selected ports allowed in an aggregation group is 8.
Views
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
max-number: Specifies the maximum number of Selected ports allowed in an aggregation group.
The value range for this argument is 1 to 8.
Usage guidelines
Executing this command might cause some of the Selected ports in an aggregation group to become
Unselected ports.
The maximum number of Selected ports allowed in the aggregation groups must be the same for the
local and peer ends.
The maximum number of Selected ports allowed in an aggregation group is limited by one of the
following values, whichever value is smaller:
• Maximum number set by using the
link-aggregation selected-port maximum
command.
• Maximum number of Selected ports allowed by the link aggregation capability.
You can implement backup between two ports by performing the following tasks:
• Assigning two ports to an aggregation group.
• Setting the maximum number of Selected ports to 1 for the aggregation group.
Then, only one Selected port is allowed in the aggregation group at any point in time, while the
Unselected port acts as a backup port.
Examples
# Set the maximum number of Selected ports to 5 for Layer 2 aggregation group 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation selected-port maximum 5
Related commands
link-aggregation selected-port minimum