176
Configuring a PE-CE interface of a PE
Configuring Ethernet encapsulation for the interface
By default, a Layer 3 Ethernet interface and a Layer 3 aggregate interface uses Ethernet encapsulation.
For configuration information about a Layer 3 Ethernet interface, see
Interface Configuration Guide
. For
configuration information about a Layer 3 aggregate interface, see
Layer 2—LAN Switching
Configuration Guide
.
Configuring VLAN encapsulation for the interface
•
By default, a Layer 3 Ethernet subinterface and a Layer 3 aggregate subinterface uses VLAN
encapsulation. For configuration information about a Layer 3 Ethernet subinterface, see
Interface
Configuration Guide
. For configuration information about a Layer 3 aggregate subinterface, see
Layer 2—LAN Switching Configuration Guide
.
•
By default, a VLAN interface uses VLAN encapsulation. The VLAN interface and the CE must
belong to the same VLAN. For configuration information about VLAN interface, see
Layer 2—LAN
Switching Configuration Guide
.
Configuring Martini MPLS L2VPN
Configuring a Martini MPLS L2VPN connection on a Layer 3
interface
Martini MPLS L2VPN uses extended LDP to transfer Layer 2 information and VC labels. To configure
Martini MPLS L2VPN, you need to:
•
Create a Martini MPLS L2VPN connection
After a Martini MPLS L2VPN connection is created on a Layer 3 interface, packets arriving at the
interface are forwarded through the MPLS L2VPN connection.
•
Configure the remote peer
In Martini MPLS L2VPN implementation, VC labels need to be exchanged between PEs. Because two PEs
may not be connected to each other directly, you need to establish a remote LDP session between the two
PEs, so that VC FECs and VC labels can be transferred through the session.
Configuration prerequisites
Before configuring Martini MPLS L2VPN, complete the following tasks:
•
Configure an IGP on the PEs and P devices to ensure IP connectivity on the MPLS backbone
•
Configure basic MPLS and MPLS LDP on the PEs and P devices to establish LDP LSPs
•
Enable MPLS L2VPN on the PEs
•
For VLAN access, configure a subinterface
To configure Martini MPLS L2VPN, you need the following data:
•
Types and numbers of the interfaces connecting the CEs
•
L2VPN connection’s destination address and PW ID (VC ID)
•
PW class template