When configuring VPLS multi-homing, create VSIs, configure BGP signaling, RDs, and VPN targets, and create VPLS connections.
The system view is displayed.
MPLS L2VPN is enabled.
A BGP L2VPN label block size is configured.
A VSI is created.
VPLS multi-homing is enabled.
An RD is configured for the VSI.
The VPN target and site ID of a VSI can be configured only after the RD of the VSI is configured.
Configuring different RDs for different PEs is recommended.
A VPN target is configured for the VSI.
Pay attention to the matching relationship between the local and remote VPN targets:
The local export-extcommunity must be the same as the remote import-extcommunity.
The local import-extcommunity must be the same as the remote export-extcommunity.
A multi-homing site range is configured.
The default VSI-BGP-SITE view is displayed.
After the pwsignal bgp multi-homing command is run, the system automatically generates a default multi-homing site for the single-homed PE. After the default multi-homing site is generated, run the site default command to enter the default VSI-BGP-SITE view.
A multi-homing site ID is configured.
A multi-homing site priority is configured.
A multi-homing site is created, and the VSI-BGP-SITE view is displayed.
A multi-homing site ID is configured.
The multi-homing site is configured as the optimal one.
In VPLS multi-homing scenarios, the system selects a site for PW establishment based on the AC status (ACS), multi-homing site priority (PREF), and PE's router ID (PE-ID). However, the site selected may differ if the ACS, PREF, or PE-ID value changes, causing frequent PW changes. To prevent frequent PW changes, run the best-site command to specify an optimal multi-homing site so that the system will use the optimal site for PW establishment.
A multi-homing site priority is configured.
A time period during which an AC interface remains in the blocked state is configured.
This step is mutually exclusive with 9.c.
The delay after which an AC interface becomes active upon a device restart is configured.
This step is mutually exclusive with 9.c.
A PW is created, and the VSI-BGP-PW view is displayed.
The VSI-BGP-PW view is displayed.
After a PW is created in the preceding step, you can perform this step in the VSI-BGP-MH view to enter the VSI-BGP-PW view.
If the actual traffic rate reaches the configured maximum limit, the excess packets are discarded.
The configuration is committed.