site name

Function

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.

Format

site name site-name

undo site name site-name

Parameters

Parameter Description Value
site-name

Specifies a multi-homing site name.

The value is a string of 1 to 19 case-sensitive characters, spaces not supported. The string can contain only letters, digits, underscores (_), and hyphens (-) and must start with letters.

Views

VSI-BGP-MH view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

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.

Example

# Create a multi-homing site named company1 for the VSI named vsi1.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >