To deliver high-reliability services over a VPLS network, carriers usually dual-home a CE to two PEs through redundant links. While providing link-level protection, the dual-homing mechanism also brings in the risk of routing loops. Currently, E-Trunk multi-homing or STP over VPLS is used to prevent routing loops. However, E-Trunk multi-homing is not widely supported by non-Huawei devices, and STP over VPLS introduces high routing costs during real-time loop detection. VPLS multi-homing adjusts link priorities to prevent routing loops. It ensures that one access link of a multi-homed CE is in the active state and the other access links are in the blocked state.
VPLS multi-homing uses BGP to transmit multi-homing site information. It enhances standard BGP VPLS and improves reliability and applies to scenarios where a CE is multi-homed to PEs.
Concept |
Description |
---|---|
MH-ID |
A multi-homing ID that uniquely identifies a multi-homing site |
Optimal site |
Preferred multi-homing site used for PW establishment |
In VPLS multi-homing implementation, after a multi-homing site is configured on a PE accessed by a multi-homed CE, the PE advertises a BGP Update message carrying its multi-homing site information (including the MH-ID) to the other PEs in the VPLS domain. Upon receipt of the BGP Update message, PEs with the same MH-ID as that carried in the BGP Update message start an election process to determine which PE is the preferred one. After the preferred PE is elected, the access links between the multi-homed CE and the non-preferred PEs are blocked to prevent routing loops.
The link whose ACS is 0 has a higher priority than the link whose ACS is 1.
A lower PE-ID indicates a higher link priority.
If a link between a multi-homed CE and a PE fails, the PE advertises a BGP Update message that carries ACS, PREF, and PE-ID information to the other PEs in the VPLS domain. Then, PEs with the same MH-ID as that carried in the BGP Update message start an election process to select a preferred link.