R0106-HP MSR Router Series MPLS Command Reference(V7)
296
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. You cannot decrease the range value for an existing site with the site command. To
decrease the range value, 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, configure the VPN to contain a maximum of 30 sites, set the initial site ID to 0 for the
cross-connect group bbb, and enter site view.
<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.
Views
Auto-discovery cross-connect view
Predefined user roles
network-admin
Parameters
tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
The PWs on the auto-discovery cross-connect use the referenced tunnel policy to select public tunnels.
If no tunnel policy is referenced or the referenced tunnel policy does not exist, the PWs use the default
policy that selects only one public tunnel in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel.