In an E-PW APS scenario, a PW protection group consists of either primary and secondary PWs or primary and bypass PWs. The primary and secondary PWs can be either SS-PWs or MS-PWs.
In an E-PW APS scenario, PE1 connects to PE2 and PE3 over a pair of primary and secondary PWs and PE2 and PE3 connect to each other over a bypass PW. The PW protection group consists of the primary and secondary PWs on PE1 and consists of the primary and bypass PWs on PE2 and PE3. The primary and secondary PWs can be dynamic SS-PWs, static SS-PWs, dynamic MS-PWs, or static MS-PWs. The bypass PW is usually an SS-PW. Its static/dynamic type is the same as that of the primary PW in the PW protection group. When configuring PW redundancy, note the following guidelines:
A static or hybrid MS-PW cannot obtain the TTL value through dynamic negotiation. To ensure the correct forwarding of PW APS negotiation packets between the endpoint PEs of an MS-PW, run the mpls l2vpn pw-ttl ttl-value [ secondary | bypass ] command to configure a TTL value, so that the PW APS mechanism knows the specific number of PW segments.
In the case of SS-PWs, configure the primary and secondary PWs on the endpoint PEs.
In the case of MS-PWs, configure the primary and secondary PWs on the endpoint PEs and configure VPWS switching on the SPEs.
The types of PWs within the same protection group must be the same, and the PW types on the two endpoints of a PW segment must also be the same.
When configuring a PW protection group, ensure that parameter settings for the primary, secondary, and bypass PWs are consistent. If inconsistencies exist, the secondary or bypass PW may fail to take over services when the primary PW fails, leading to service interruption.
Configure a PW protection group that consists of primary and secondary PWs on PE1 and a PW protection group consisting of primary and bypass PWs on PE2 and PE3. In the case of MS-PWs, you also need to configure VPWS switching on SPE1 and SPE2.
Perform the following steps on PE1:
Perform the following steps on PE2 and PE3.
Perform the following steps on PE1:
Perform the following steps on PE2 and PE3.
In the case of MS-PWs, perform the following steps on each SPE.