HP 12500 Series Configuration Manual page 186

Mpls, routing switch series
Table of Contents

Advertisement

NOTE:
An MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN supports only LDP signaling
negotiation, that is, the Martini method.
On the private VLAN interface bound with the Martini MPLS L2VPN, do not configure services other
than MPLS L2VPN. Otherwise, the MPLS L2VPN function cannot work normally.
Do not enable STP, Ethernet OAM, 802.1X, GVRP, LLDP, DLDP, LACP, or other port-based protocols on
a port configured with MPLS L2VPN.
For an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN, if the access mode of
the service instance created is Ethernet, do not configure the link type of the port used by the private
network as Trunk. You can add the port to the access VLAN as an Access port, or configure the port link
type as Hybrid and allow packets of the access VLAN to pass through untagged.
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
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
To configure an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN, you need the
following data:
Types and numbers of the interfaces connecting the CEs
L2VPN connection's destination address and PW ID
PW class template
Configuration procedure
To configure an MPLS L2VPN connection based on Layer 2 Ethernet interface and VLAN on a PE:
To do...
Enter system view
Create a PW class template and
enter PW class template view
Use the command...
system-view
pw-class pw-class-name
178
Remarks
Optional
By default, no PW class template is
created.

Advertisement

Table of Contents
loading

Table of Contents