link-aggregation primary-port
Use
link-aggregation primary-port
backup aggregation group.
Use
undo link-aggregation primary-port
Syntax
link-aggregation primary-port
undo link-aggregation primary-port
Default
A member port is not assigned the primary role in a 1+1 backup aggregation group.
Views
Layer 3 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
In a 1+1 backup aggregation group, the primary member port is placed in Selected state to forward
all traffic, and the secondary member port is placed in Unselected state as a standby. You can
specify a primary member port with this command or let the system to select a primary member port.
If you specify a primary member port for a 1+1 backup aggregation group, the aggregation group can
revert to the primary member port when that port recovers from failure. As a best practice, use this
command to manually specify a primary member port.
If you do not specify a primary member port for an aggregation group, the system acts as follows:
•
Assigns the primary role to the reference port if the member ports join the aggregation group
simultaneously.
•
Assigns the primary role to the member port that first becomes Selected if the member ports
join the aggregation group successively.
This command is not available on a port that is not an aggregation group member or is in an
aggregation group not operating in 1+1 backup mode.
A 1+1 backup aggregation group can have only one primary member port.
Examples
# Assign the primary role to Twenty-FiveGigE 1/0/1.
<Sysname> system-view
[Sysname] interface twenty-fivegige 1/0/1
[Sysname-Twenty-FiveGigE1/0/1] port link-aggregation group 1
[Sysname-Twenty-FiveGigE1/0/1] link-aggregation primary-port
link-aggregation reversion delay
Use
link-aggregation reversion delay
aggregation group.
Use
undo link-aggregation reversion delay
Syntax
link-aggregation reversion delay time-value
undo link-aggregation reversion delay
to assign the primary role to a member port in a 1+1
to restore the default.
to set the reversion delay for a 1+1 backup
to restore the default.
31