Kompella MPLS L2VPN Configuration Commands
813
Parameter
None
Description
Using the mpls l2vpn command, you can enable L2VPN. Using the undo mpls
l2vpn command, you can disable L2VPN.
Enable MPLS before using this command.
For the related commands, see mpls and mpls lsr-id.
Example
Enter MPLS view, then configure LSR ID and enable MPLS.
[3Com] undo mpls
[3Com-mpls] mpls lsr-id 10.0.0.1
[3Com] mpls
Enable L2VPN.
[3Com] mpls l2vpn
mpls l2vpn
Syntax
encapsulation
mpls l2vpn vpn-name encapsulation { atm-aal5 | ethernet | fr | vlan | hdlc | ppp }
undo mpls l2vpn vpn-name
View
System view
Parameter
vpn-name: Unique VPN name in PE with 1 to 20 bytes.
atm-aal5 | ethernet | fr | vlan | hdlc | ppp: VPN encapsulation types. The CCC
encapsulation type on CE interface must keep accordance with that of VPN when
creating BGP L2VPN connection. Otherwise, the connection can not be performed
normally.
Description
Using the mpls l2vpn encapsulation command, you can create Kompella MPLS
L2VPN and specify encapsulation mode. Using the undo mpls l2vpn encapsulation
command, you can remove the encapsulation.
Create Kompella MPLS L2VPN after global enable MPLS L2VPN.
After creating Kompella MPLS L2VPN, system will create a L2VPN mode, all the
parameters of which are configured in L2VPN mode.
For related commands, see ce and mtu.
Example
Create a Kompella MPLS L2VPN, named "3Com", with encapsulation type being
vlan: