R3303-HP HSR6800 Routers MPLS Command Reference

270
To create a VSI, you must specify a globally unique name for it, and specify the peer discovery
mechanism (by specifying the auto or static keyword). If you specify the peer discovery mechanism as
static, you can also enable P2P for the VPLS instance as needed.
Before creating a VPLS instance, enable L2VPN and MPLS L2VPN through the l2vpn command and the
mpls l2vpn command.
Examples
# Create VPLS instance aaa, and specify the peer discovery mechanism as static.
<Sysname> system-view
[Sysname] vsi aaa static
[Sysname-vsi-aaa]
# Create VPLS instance bbb, specify the peer discovery mechanism as static, and enable P2P capability
for the VPLS instance.
<Sysname> system-view
[Sysname] vsi bbb static p2p
[Sysname-vsi-bbb]
Related commands
display vsi
mpls l2vpn
l2vpn
vsi-id
Use vsi-id to specify the ID of a VPLS instance.
Syntax
vsi-id vsi-id
Views
VSI-LDP view, VSI-static view
Default command level
2: System level
Parameters
vsi-id: Specifies the ID for the VPLS instance, in the range of 1 to 4294967295.
Usage guidelines
On PEs in the same VPN, be sure to specify the same VSI ID for the VPLS instances that correspond to the
VPN.
When you configure a static VPLS instance, if you do not specify the VPLS instance ID by using the vsi-id
command, you must specify the PW ID by using the pw-id keyword in this command.
Examples
# Set the VSI ID to 100 for the LDP VPLS instance aaa.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal ldp
[Sysname-vsi-aaa-ldp] vsi-id 100