3com S7906E 安装指导
1-13
To do…
Use the command…
Remarks
Create a Kompella connection
connection [ ce-offset id ]
interface interface-type
interface-number
[ tunnel-policy
tunnel-policy-name ]
interface interface-type
interface-number
[ tunnel-policy
tunnel-policy-name ]
Required
Configuring an MPLS L2VPN Connection Based on Layer 2 Ethernet
Interface and VLAN
At present, an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN supports only
LDP signaling negotiation, that is, only the Martini method support establishing MPLS L2VPN
connection based on Layer 2 Ethernet interface and VLAN.
If you create a Martini MPLS L2VPN connection on a VLAN interface, all packets carrying the VLAN tag
will be forwarded through the connection, regardless of the Layer 2 Ethernet ports receiving the packets.
This not only wastes the Layer 2 Ethernet interface and VLAN resources, but also cannot differentiate
users and services connected to different Layer 2 Ethernet interfaces.
MPLS L2VPN connections based on Layer 2 Ethernet interface and VLAN can solve the above
problems. Such connections forward packets based on the inbound Layer 2 Ethernet interfaces and the
VLAN tags in the packets. In other words, only packets that are received on the same Layer 2 Ethernet
interface and carry the same VLAN tag are forwarded through the same MPLS L2VPN connection.
To configure a connection based on Layer 2 Ethernet interface and VLAN, you need to create a service
instance on the Layer 2 Ethernet interface, configure a packet matching rule for the service instance,
and create a Martini MPLS L2VPN connection. After these configurations, packets that arrive at the
Layer 2 Ethernet interface and match the packet matching rule will be forwarded through the created
MPLS L2VPN connection.
Configuration Prerequisites
Before configuring an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN,
complete these tasks:
z
Configuring IGP on the PEs and P devices to guarantee the IP connectivity of the MPLS backbone
z
Configuring MPLS basic capability and MPLS LDP for the MPLS backbone on the PEs and P
devices to establish LDP LSPs
z
Enabling MPLS L2VPN on the PEs
To configure an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN, you need the
following data:
z
Types and numbers of the interfaces connecting the CEs