3Com S7902E Command Reference Manual - page 1606
1-23
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] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1]
# Create Kompella VPN named vpn2 and enter MPLS L2VPN 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 destination
destination-router-id
transmit-vpn-label
transmit-label-value
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