beautypg.com

Configuration prerequisites, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 209

background image

198

NOTE:

Do not configure services other than L2VPN for the VLAN that is bound to the private network side of the
MPLS L2VPN.

Do not enable port-based protocols such as STP, Ethernet OAM, 802.1X, GVRP, LLDP, DLDP, and LACP
on a port enabled with MPLS L2VPN.

For an MPLS L2VPN connection created for a service instance, if the access mode of the service instance
is Ethernet, do not use a trunk port to connect the private network side. You can add this port to the

access VLAN as an access port, or configure the port as a hybrid port that permits packets from the
access VLAN to pass with the VLAN tag stripped.

If you create a Martini MPLS L2VPN connection on a VLAN interface, all packets carrying the tag of the
VLAN will be forwarded through the MPLS L2VPN connection, no matter from which Layer 2 Ethernet

ports the packets are received. That is, the router chooses an MPLS L2VPN connection for a received

packet according to only the VLAN tag carried in the packet. This not only wastes the Layer 2 Ethernet

port and VLAN resources but also mixes the users and services of different Layer 2 Ethernet ports.
To solve the problem, you can create a Martini MPLS L2VPN connection in a service instance. More

specifically:

1.

Create a service instance on a Layer 2 Ethernet port.

2.

Specify a packet matching VLAN ID for the service instance.

3.

Create a Martini MPLS L2VPN connection in the service instance view.

Then, packets arriving at the Layer 2 Ethernet port and carrying the specified VLAN ID will be forwarded

by the MPLS L2VPN connection.

Configuration prerequisites

Before you configure Martini MPLS L2VPN, complete the following tasks:

Configure an IGP on the PEs and P routers to ensure IP connectivity within the MPLS backbone

Configure basic MPLS and MPLS LDP on the PEs and P routers to establish LDP LSPs

Enable MPLS L2VPN on the PEs

To configure Martini MPLS L2VPN, prepare the following data:

Types and numbers of the interfaces connecting the CEs

Destination address of the L2VPN connection and the PW ID

PW class template

Configuration procedure

To create a Martini MPLS L2VPN connection in a service instance:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a PW class
template and enter PW

class template view.

pw-class pw-class-name

Optional.
By default, no PW class template

is created.

3.

Specify the PW
transport mode.

trans-mode { ethernet | vlan }

Optional.
VLAN by default.