R211x-HP Flexfabric 11900 MPLS Command Reference
240
default-offset default-offset: Specifies the initial site ID, 0 or 1. The default value is 0.
Usage guidelines
The range range-value and default-offset default-offset options determine the label block of the site.
If you execute the site command with the range-value of range1, and default-offset of 0 (or 1), a label
block with LR of range1 and LO of 0 (or 1) is assigned to the site. If you execute another site command
with range-value of range2 (range2 is larger than range1), and default-offset of 0 (or 1), a second label
block with LR of range2 to range1 and LO being range1 (or range1+1) is assigned to the site.
For example, if you execute the following commands, three label blocks B1/0/10, LB2/10/12, and
LB3/22/14 are assigned to site 1. LB1, LB2, and LB3 are automatically selected.
site 1 range 10 default-offset 0
site 1 range 22
site 1 range 36
You can create multiple local sites for a cross-connect group.
You can use the site command to increase the range value for an existing site without changing the site-id
and default-offset, but you cannot decrease the range value for an existing site with the site command.
To decrease the value range, you must delete the site and re-create the site with the new range value.
Select a large range value to reduce future modifications for VPN expansion.
You cannot modify the default-offset for a site with the site command. To modify it, you must delete the site
and re-create the site with the new default-offset.
Examples
# Create site 1 for the cross-connect group bbb, specify that the VPN has a maximum of 30 sites and the
initial site ID is 0, and enter the view of site 1.
<Sysname> system-view
[Sysname] xconnect-group bbb
[Sysname-xcg-bbb] auto-discovery bgp
[Sysname-xcg-bbb-auto] site 1 range 30 default-offset 0
[Sysname-xcg-bbb-auto-1]
Related commands
• display l2vpn pw
• display l2vpn xconnect-group
tunnel-policy
Use tunnel-policy to reference a tunnel policy.
Use undo tunnel-policy to cancel referencing the tunnel policy.
Syntax
tunnel-policy tunnel-policy-name
undo tunnel-policy
Default
No tunnel policy is referenced.










