Default Level
2: System level
Parameters
vpn-name: Name for the VPN, a case insensitive string of 1 to 31 characters that cannot include the
character of "-". It is used to identify a VPN uniquely on a PE.
encapsulation: Specifies the VPN encapsulation type.
ethernet: Uses Ethernet encapsulation.
vlan: Uses VLAN encapsulation.
control-word: Enables the control word option.
no-control-word: Disables the control word option.
Description
Use the mpls l2vpn command to create a Kompella VPN and enter MPLS L2VPN view.
Use the undo mpls l2vpn command to delete a VPN.
The encapsulation type specified here must match that of the CE interface.
At present, the S7900E series Ethernet switches do not support the control word option.
Examples
# Create Kompella VPN named vpn1 and enter MPLS L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1]
# Create Kompella VPN named vpn2 and enter MPLS L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1] mpls l2vpn vpn2 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn2]
mpls static-l2vc destination
Syntax
mpls
static-l2vc
receive-vpn-label receive-label-value [ tunnel-policy tunnel-policy-name ] [ control-word |
no-control-word ]
undo mpls static-l2vc
View
Interface view
Default Level
2: System level
destination
destination-router-id
1-23
transmit-vpn-label
transmit-label-value
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers