The site name command creates a multi-homing site and displays the VSI-BGP-SITE view.
The undo site name command deletes a multi-homing site and its configurations.
By default, no multi-homing site is created.
Usage Scenario
In VPLS multi-homing scenarios, a PE accessed by CEs considers each CE a site. If a PE is accessed by multiple CEs, you must configure a multi-homing site for each CE. To create a multi-homing site, run the site name command.
Prerequisites
An RD has been configured for the VSI using the route-distinguisher (VSI-BGP view) command.
Follow-up Procedure
Run the site-id site-id command to configure a multi-homing site ID.
Precautions
When you run the undo site name command to delete a multi-homing site that has been created, all configurations of the multi-homing site will be deleted. Exercise caution when running this command.
<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