The best-site command configures a multi-homing site as the optimal one.
The undo best-site command cancels the configuration of a multi-homing site as the optimal one.
By default, no optimal multi-homing site is configured.
Usage Scenario
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.
Prerequisites
A multi-homing site ID has been configured using the site-id command.
Precautions
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] pwsignal bgp multi-homing [*HUAWEI-vsi-vsi1-bgp] route-distinguisher 192.168.1.1:1 [*HUAWEI-vsi-vsi1-bgp] site name company2 [*HUAWEI-vsi-vsi1-bgp-site-company2] site-id 50 [*HUAWEI-vsi-vsi1-bgp-site-company2] best-site