
228
•
Sites of a VPLS instance use natural numbers as the site IDs. In a VPN, each site ID must be unique.
•
For a VPLS instance, you are not allowed to execute the
site
command repeatedly.
Syntax
site
site-id
[
range
site-range
] [
default-offset
{ 0 | 1 } ]
undo
site
site-id
View
VSI BGP view
Default level
2: System level
Parameters
site-id
: Specifies the ID of a site of the VPLS instance. The valid values ranges from 0 to 32.
range
site-range
: Specifies the site range on a PE. The
site-range
parameter is the total number of sites of
a VPLS instance. The value ranges from 1 to 33 and the default is 10.
default-offset
{ 0 | 1 }: Specifies the default initial CE offset. It can be 0 or 1 and defaults to 0.
Examples
# Create sites for VPLS instance
aaa
and set the site range to 20.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal bgp
[Sysname-vsi-aaa-bgp] site 1 range 20
tnl-policy
Description
Use the
tnl-policy
command to specify a tunneling policy for a VPLS instance.
Use the
undo
tnl-policy
command to remove the configuration.
By default, if you do not specify a tunneling policy for a VPLS instance, the default tunneling policy is
used. The default tunneling policy selects only one tunnel in this order: LSP tunnel, CR-LSP tunnel.
If you specify a tunneling policy name, but the tunneling policy is not configured, the default tunneling
policy is used.
For how to configure a tunneling policy, see the chapter “MPLS L3VPN configuration.”
Related commands:
tunnel policy
.
Syntax
tnl-policy
tunnel-policy-name
undo
tnl-policy
View
VSI view
Default level
2: System level