R2511-HP MSR Router Series MPLS Configuration Guide(V5)

60
Configuring L2PT
Layer 2 protocol tunneling (L2PT) allows CDP, GVRP, LACP, LLDP, PAGP, PVST, STP, UDLD, or VTP packets
to traverse an MPLS L2VPN connection. It has the following operating modes:
Tunnel mode—The PE replaces the protocol destination MAC address of packets from the private
network with the L2PT multicast MAC address. If the destination MAC address of packets from the
public network is the L2PT multicast MAC address, the PE replaces the MAC address with the
protocol destination MAC address.
Use the tunnel mode if the VC connection does not cross the whole service provider network. The
tunnel mode restores the packets to the original Layer 2 packets within the backbone. To avoid
Layer 2 protocol packet conflict between the backbone and the customer network, configure the
tunnel mode for L2PT on one PE, and configure BPDU tunneling on the other PE of the service
provider network. To ensure L2PT interoperation with BPDU tunneling, configure the BPDU
multicast MAC address as the L2PT multicast MAC address. For more information about BPDU
tunneling, see Layer 2—LAN Switching Configuration Guide.
EXP mode—Sets the EXP value in the VC labels for Layer 2 protocol packets to a specific value.
Tunnel+EXP mode—Uses both tunnel mode and EXP mode to process Layer 2 protocol packets.
Drop mode—Drops Layer 2 protocol packets from the private network.
You must configure the same L2PT mode for a protocol and the same L2PT multicast MAC address on the
local and remote PEs. Otherwise, packet forwarding might fail.
To configure L2PT:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the L2PT
multicast MAC address.
l2protocol-tunnel mac-address
mac-address
Optional.
By default, the L2PT multicast
MAC address is
010F-E200-0003.
3. Enter the view of the
interface that connects a
CE.
interface interface-type interface-number N/A
4. Enable L2PT.
l2protocol-tunnel { cdp | gvrp | lacp | lldp
| pagp | pvst | stp | udld | vtp } { drop |
tunnel [ experimental mpls-exp-value] |
experimental mpls-exp-value }
By default, L2PT is
disabled for all protocols.
Displaying and maintaining MPLS L2VPN
Task Command
Remarks
Display information about CCC
connections.
display ccc [ ccc-name ccc-name | type { local
| remote } ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display information about
specified L2VPN VC interfaces.
display l2vpn ccc-interface vc-type { all |
bgp-vc | ccc | ldp-vc | static-vc } [ up |
down ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.