R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
210
mpls l2vpn
Use mpls l2vpn to enable MPLS L2VPN.
Use undo mpls l2vpn to disable MPLS L2VPN and delete all L2VPN configurations.
Syntax
mpls l2vpn
undo mpls l2vpn
Default
MPLS L2VPN is disabled.
Views
L2VPN view
Default command level
2: System level
Usage guidelines
You must use the mpls l2vpn command to enable MPLS L2VPN before configuring other MPLS L2VPN
commands except the mpls l2vpn reserve vlan command.
Examples
# Enable MPLS L2VPN.
<Sysname> system-view
[Sysname] l2vpn
[Sysname-l2vpn] mpls l2vpn
mpls l2vpn vpn-name
Use mpls l2vpn vpn-name to create a Kompella VPN and enter MPLS L2VPN view.
Use undo mpls l2vpn vpn-name to delete a VPN.
Syntax
mpls l2vpn vpn-name [ encapsulation { atm-aal5 | ethernet | fr | hdlc | ppp | vlan } [ control-word |
no-control-word ] ]
undo mpls l2vpn vpn-name
Views
System view, MPLS L2VPN view
Default command level
2: System level
Parameters
vpn-name: Specifies a name for the L2VPN, a case-insensitive string of 1 to 31 characters that cannot
contain hyphens (-). The name uniquely identifies an L2VPN on a PE.
encapsulation: Specifies the VC type.
atm-aal5: Uses ATM AAL5 transparent transport encapsulation.










