The site-range command configures a multi-homing site range allowed.
The undo site-range command restores the default configuration.
By default, no multi-homing site is configured.
Parameter | Description | Value |
---|---|---|
rangeValue |
Specifies a multi-homing site range. |
The value is an integer ranging from 1 to 65535. |
default-offset offsetValue |
Specifies a default offset for the multi-homing site ID. default-offset applies to scenarios where Huawei and non-Huawei devices communicate with each other. For example, if default-offset is set to 1 and the multi-homing site ID is set to 2, the PE can only establish a PW with the remote PE whose multi-homing site ID is 3. |
The value can be 0 or 1. The default value is 0. |
<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-range 100 default-offset 1