How can I configure LACP priority on CE switches

23

LACP priorities include system and interface priorities.
1. The system priority determines the Actor and Partner. The device with a higher system priority functions as the Actor and the active interfaces are selected based on the Actor.
2. The interface priority determines selection of active interfaces. The interfaces with a higher priority are selected as active interfaces.
A smaller value indicates a higher priority.
# Configure the LACP system priority.
system-view
[~HUAWEI] lacp priority 10
[*HUAWEI] commit# # Configure the LACP priority for 10GE1/0/1.
system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1
[*HUAWEI-Eth-Trunk1] mode lacp-static //Before configuring the interface priority, ensure that the interface has been added to an Eth-Trunk in LACP mode.
[*HUAWEI-Eth-Trunk1] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] lacp priority 1
[*HUAWEI-10GE1/0/1] commit

Other related questions:
Configuring link aggregation in LACP mode on CE switches
LACP link aggregation can work in static or dynamic LACP mode. Ensure that both ends use the same working mode. That is, if the local end works in static LACP mode, the peer end must use the static LACP mode. - If the directly-connected two ends support LACP, the static LACP mode is recommended. - The dynamic LACP mode is generally used when the switch is directly connected to a server. In this case, you can also use the static LACP mode. # Add 10GE1/0/1 to 10GE1/0/3 to Eth-Trunk 1, and set the working mode to static LACP.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] mode lacp-static
[*HUAWEI-Eth-Trunk1] trunkport interface 10ge 1/0/1 to 1/0/3
[*HUAWEI-Eth-Trunk1] commit
# Add 10GE1/0/4 to 10GE1/0/6 to Eth-Trunk 2, and set the working mode to dynamic LACP.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 2
[*HUAWEI-Eth-Trunk2] mode lacp-dynamic
[*HUAWEI-Eth-Trunk2] trunkport interface 10ge 1/0/4 to 1/0/6
[*HUAWEI-Eth-Trunk2] commit

How is the LACP mode configured when a CE switch connects to a third-party device through an Eth-Trunk
Run the mode { lacp-static | lacp-dynamic | manual [ load-balance ] } command in the Eth-Trunk interface view to configure the LACP mode of the Eth-Trunk on the CE switch. When a CE switch connects to a third-party device, the LACP modes must be consistent on the two ends. Mainstream network devices that connect to CE switches include devices from Cisco, Juniper, and H3C. The table on the right describes the mapping between aggregation modes.

How can I change the stack priority on CE switches
During master switch election in a stack, the member switch with the highest stack priority becomes the master switch.
After setting a stack priority, restart the switch for the configuration to take effect.
Change the stack priority of a CE12800 switch.
- Before CSS is enabled
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack priority 150
[*HUAWEI-stack] commit
- After CSS is enabled
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack member 1 priority 150
[*HUAWEI-stack] commit

Change the stack priority of CE8800&CE7800&CE6800&CE5800 switches.
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack member 1 priority 150
[*HUAWEI-stack] commit

How to set the LACP priority based on the rate
By default, the system selects active interfaces based on interface priorities. However, low-speed member interfaces may be selected as active interfaces because of their high priorities. To select high-speed member interfaces, run the lacp selected speed command to configure the system to select active interfaces based on the interface rate.

How to configure traffic classifier priorities on a CE series switch
When the classifier classifier-name behavior behavior-name [ precedence precedence-value ] command is used in the traffic policy view to bind a traffic classifier and a traffic behavior to a traffic policy, you can specify precedence-value to set a priority for the traffic classifier. In the command, precedence-value is an integer that ranges from 0 to 65535. A smaller value indicates a higher priority. If precedence-value is not specified, the system automatically allocates a priority to the traffic classifier. The allocated priority is a multiple of 5 that is closest to the highest priority of current traffic classifiers. For example, if the highest priority of current traffic classifiers is 7, the system allocates a priority of 10 to the traffic classifier when precedence-value is not specified.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top