site-id

Function

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.

Format

site-id siteId

undo site-id [ siteId ]

Parameters

Parameter Description Value
siteId

Specifies a multi-homing site ID.

The value is an integer ranging from 0 to 65534.

Views

VSI-BGP-SITE 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. 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

  • The IDs of the multi-homing sites for the same accessed CE must be the same. Otherwise, multi-homing cannot be implemented.
  • The site IDs in the same VSI on the same PE must be different. The local site ID must be smaller than the remote one rangevalue plus remote default-offset, but greater than or equal to the remote default-offset.

Example

# Configure the ID of 20 for the multi-homing site named company1.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >