< Home

site

Function

The site command configures a site ID for a VSI.

The undo site command deletes a site ID of a VSI.

By default, no site ID is configured for the VSI.

Format

site site-id [ range site-range ] [ default-offset { 0 | 1 } ]

undo site site-id

Parameters

Parameter Description Value
site-id Specifies the site ID of a VSI. The value is an integer that ranges from 0 to 65534.
range site-range Specifies the range of the number of sites in the VSI. If this parameter is specified, the system reserves the required labels for the VSI. The value is an integer that ranges from 1 to 8000.
default-offset Specifies the offset of the initial site ID. The value is an integer. It can be 0 or 1. The default value is 0.

Views

VSI-BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After you configure an RD for the VSI in the Kompella VPLS, run the site command to configure site connections.

Prerequisites

The following operations have been performed before this command is used:
  1. A VSI has been created using the vsi vsi-name auto command.
  2. BGP has been configured as the PW signaling protocol using the pwsignal bgp command.
  3. The RD of the VSI has been configured using the route-distinguisher route-distinguisher command.

Precautions

The same VSI on different PEs cannot be configured with the same site ID. site-id of the local end must be less than the sum of site-range and default-offset of the remote end. site-id of the local end cannot be less than default-offset of the remote end.

A device allocates labels to the ranges of Kompella L2VPN instances and VPLS VSIs from the same label block. Therefore, the ranges of Kompella L2VPN instances and VPLS VSIs cannot be greater than the size of the label block. Otherwise, the system prompts that the required labels exceed the permitted maximum labels, and the labels cannot be allocated. The system fails to create a CE or fails to allocate a site ID to a VSI.

Example

# Configure the site ID of the VSI as 1 and the number of connected sites in this VSI as 100.

<HUAWEI> system-view
[HUAWEI] vsi company2
[HUAWEI-vsi-company2] pwsignal bgp
[HUAWEI-vsi-company2-bgp] route-distinguisher 10.1.1.1:1
[HUAWEI-vsi-company2-bgp] site 1 range 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >