The site-id command configures a multi-homing site ID.
The undo site-id command deletes a multi-homing site ID.
By default, no multi-homing site ID is configured.
Usage Scenario
In VPLS multi-homing scenarios, a PE accessed by CEs considers each CE a site. To differentiate sites, run the site-id command to configure a multi-homing site ID. The local PE then uses BGP signaling to send the site ID to the other PEs so that these PEs can determine whether they have the same site as the local PE.
Prerequisites
A multi-homing site has been created and the VSI-BGP-SITE view is displayed using the site name site-name 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 company1 [*HUAWEI-vsi-vsi1-bgp-site-company1] site-id 20