The lacp vrrp priority command sets the LACP system priority of an Eth-Trunk interface when the Eth-Trunk interface works in static LACP mode and is associated with a VRRP group.
The undo lacp vrrp priority command restores the default system priority of an Eth-Trunk interface when the Eth-Trunk interface works in static LACP mode and is associated with a VRRP group.
By default, the configured LACP system priority of an Eth-Trunk interface in static LACP mode takes effect.
Usage Scenario
A non-Huawei CE is dual-homed to Huawei UPE1 and UPE2. Eth-Trunk links in static LACP mode are configured between the CE and the UPEs. UPE1 and UPE2 are configured as a VRRP group, with UPE1 being Master and UPE2 being Backup. After an Eth-Trunk interface in static LACP mode is associated with a VRRP group, the Eth-Trunk link can rapidly detect the status change of the VRRP group. When detecting a status change of the VRRP group, the Eth-Trunk interface can rapidly switch traffic to an available link. This ensures reliable service transmission.
To allow the function of associating an Eth-Trunk interface in static mode with a VRRP group to take effect, run the lacp vrrp priority priority command to set the same LACP system priority on the UPE1 and UPE2 Eth-Trunk interfaces associated with the same VRRP group.Prerequisites
The Eth-Trunk interface in static LACP mode has been associated with a VRRP group using the lacp track vrrp vrid vrid interface interface-type interface-number command.
Follow-up Procedure
When a non-Huawei device is dual-homed to two Huawei UPEs:
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1 [~HUAWEI-GigabitEthernet0/1/1] admin-vrrp vrid 1 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] interface eth-trunk 1 [*HUAWEI-Eth-Trunk1] mode lacp-static [*HUAWEI-Eth-Trunk1] lacp track vrrp vrid 1 interface GigabitEthernet0/1/1 [*HUAWEI-Eth-Trunk5] lacp vrrp priority 1000