R0106-HP MSR Router Series MPLS Command Reference(V7)
295
Usage guidelines
After you disable a cross-connect group, all cross-connects in the group cannot provide L2VPN services.
Use the shutdown command when you want to temporarily disable L2VPN (for example, to modify a
cross-connect group). After the modification, use the undo shutdown command to enable the
cross-connect group. This will provide L2VPN services using the new settings.
Examples
# Disable cross-connect group vpn2.
<Sysname> system-view
[Sysname] xconnect-group vpn2
[Sysname-xcg-vpn2] shutdown
Related commands
display l2vpn xconnect-group
site
Use site to create a local site and enter site view.
Use undo site to delete a local site.
Syntax
site site-id [ range range-value ] [ default-offset default-offset ]
undo site site-id
Default
No site is created.
Views
Auto-discovery cross-connect group view
Predefined user roles
network-admin
Parameters
site-id: Specifies a local site ID in the range of 0 to 65533.
range range-value: Specifies the maximum number of sites in a VPN, in the range of 2 to 1 + the
maximum number of site-id. The default value is 10.
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, a label block with LR of range1 and LO
of default-offset is assigned to the site. If you execute another site command with range-value of range2
(range2 is larger than range1), a second label block with LR of range2 to range1 and LO being range1
+ default-offset is assigned to the site.
For example, if you execute the following commands, three label blocks LB1/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










