If a CE is dual-homed to two PEs, configure MC-LAG to implement AC dual-homing protection.
In a scenario in which a CE is dual-homed to two PEs and the active/standby AC status needs to be determined by E-Trunk.
The system view is displayed.
An Eth-Trunk interface is created.
The Eth-Trunk interface is switched to Layer 2 mode.
This command is needed only on CEs. The Eth-Trunk sub-interfaces on PEs are the AC interfaces for PWs.
The working mode of the Eth-Trunk interface is configured as the static LACP mode.
The Eth-Trunk interface is configured to allow packets with specified VLAN tags to pass through.
This command is needed only on CEs, and the specified VLANs must be configured on the CEs.
An interface is added to the Eth-Trunk interface.
Return to the system view.
The configuration is committed.
An E-Trunk LACP system ID is configured.
mac-address is in the format of H-H-H and cannot be all 0s or Fs.
The LACP system IDs of the master and backup devices in an E-Trunk mechanism must be the same.
An E-Trunk LACP priority is configured.
The LACP priorities of the master and backup devices in an E-Trunk mechanism must be the same.
An E-Trunk mechanism is created.
priority is an integer ranging from 1 to 254. The default value is 100. The smaller the priority value, the higher the priority.
The local and peer IP addresses are configured.
The Eth-Trunk interface view is displayed.
The Eth-Trunk interface is added to the E-Trunk mechanism.