R211x-HP Flexfabric 11900 MPLS Command Reference
298
Related commands
• display l2vpn pw
• display l2vpn vsi
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-value ]
undo site site-id
Default
No site is created.
Views
Auto-discovery VSI BGP signaling view
Predefined user roles
network-admin
mdc-admin
Parameters
site-id: Specifies a local site ID in the range of 0 to 32.
range range-value: Specifies the maximum number of sites in the VPLS instance. The value range is 2 to
33, and the default is 10.
default-offset default-offset: Specifies the initial site ID, 0 or 1. The default value is 0.
Usage guidelines
You can create multiple local sites for a VSI.
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.
You cannot modify the default-offset-value 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-value.
Examples
# Create site 1 for the VSI aaa, and specify that the VPLS instance has a maximum of 30 sites and the
initial site ID is 0.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] auto-discovery bgp
[Sysname-vsi-aaa-auto] signaling-protocol bgp
[Sysname-vsi-aaa-auto-bgp] site 1 range 30 default-offset 0
Related commands
• display l2vpn pw










