Enabling L2VPN
Step
1.
Enter system view.
2.
Enable L2VPN.
Creating a PBB VSI
You must assign a unique I-SID to each PBB VSI for identification. The name of a PBB VSI can be different
on different PBB nodes, but its I-SID must be the same across the PBBN. For more information about VSIs,
see MPLS Configuration Guide.
You can configure one PBB I-SID and one SPB I-SID for a VSI, but the two I-SIDs cannot be the same. For
more information about SPB, see SPB Configuration Guide.
To create a PBB VSI:
Step
1.
Enter system view.
2.
Create a VSI and enter VSI
view.
3.
Configure the VSI as a PBB
VSI, specify a PBB I-SID for the
PBB VSI, and enter PBB VSI
view.
Configuring the frame encapsulation type
A PBB VSI supports the following frame encapsulation types:
Ethernet.
•
VLAN.
•
To configure the encapsulation type for a PBB VSI:
Step
1.
Enter system view.
2.
Enter VSI view.
3.
Configure the VSI as a PBB
VSI, specify a PBB I-SID for the
PBB VSI, and enter PBB VSI
view.
4.
Specify an encapsulation type
for the PBB VSI.
Command
system-view
l2vpn enable
Command
system-view
vsi vsi-name
pbb i-sid i-sid
Command
system-view
vsi vsi-name
pbb i-sid i-sid
encapsulation { ethernet | vlan }
226
Remarks
N/A
By default, L2VPN is disabled.
Remarks
N/A
For more information about the vsi
command, see MPLS Command
Reference.
By default, no PBB VSI exists.
Remarks
N/A
N/A
N/A
By default, the VLAN encapsulation
applies.