Reset Search
 

 

Article

How to configure MPLS VLLs on the PE routers?

« Go Back

Information

 
TitleHow to configure MPLS VLLs on the PE routers?
Question

This is an example to configure Virtual Leased Line (VLL) in tagged mode orraw mode.

Example: CER/CES with version 5.1+ as PEs, one FCX, and one MLX 4kas CE to verify the connectivity.

The raw mode was used totroubleshoot without VLAN ID in ethernet header acrossMPLS cloud.

Environment
Answer

The diagram is as follows:

CE1(FCX-10.1.1.1)-----e1/12-PE1(CER) e1/7----MPLS cloud---------e1/8--PE2(CES) -e1/11-----CE2(XMR-10.1.1.2)

The default for packets that are sent through a VLL is for the ingress router to add a VLAN ID tag to the payload Ethernet header. When the packet arrives at the egress router, the tag is stripped off and the packet is forwarded. You can configure a VLL to send all packets in raw mode. This means that the ingress router of the VLL will not add a VLAN ID tag to the payload Ethernet header and consequently the egress router will not have to strip it off. Both the ingress and egress routers must be configured in either default (tagged mode) or raw mode.

Note: The configuration below is only in respect to VLL with the assumption that the underlying MPLSis configured and the loopback reachablity is there from PE1 to PE2.

1. PE1 - CER (5.1 code with ADV_SVCS_PREM)

router mpls

mpls-interface e1/7
ldp-enable

vll temp 999
vll-peer 10.64.0.1
vlan 11
tagged e 1/12
<-- Be sure to configure as a tag port. For a tag port, a <vlan-id,port> pair constitutes a VLL endpoint.

vll tempraw 998 raw-mode<-- It's a raw mode
vll-peer 10.64.0.1
vlan 10
tagged e 1/12
<--A tag port can be a part of one or more VLLs. The tagport e 1/12 is under vlan 10 in raw-mode. The port e 1/12in previous tag-mode was under vlan 11.

The endpoint of a VLL specifies what happens to packets exiting the VLL. You set the endpoint on the local PE router and this endpoint is mapped to a VC label. The VC label is advertised to the remote PE router at the other end of the VLL through LDP. The remote PE router applies this label to packets entering the VLL. When the packet reaches the end of the VLL through the MPLS uplink, the local PE router checks the mapping between the VC label and the endpoint, removes the VC label from the packet, and forwards the packet out the port specified as the endpoint.

With a single-tagged port, each pair (port, VLAN ID) is identified as a unique endpoint, and the packets are sent in tagged Ethernet format.

telnet@PE1# sh mpls vll br
Name VC-ID Vll-peer End-point State
Tunnel-LSP
temp 999 10.64.0.1 tag vlan 11 e 1/12 UP
tnl1
tempraw 998 10.64.0.1 tag vlan 10 e 1/12 UP
tnl1

In the above example, 10.64.0.1 is a loopback address of PE2.

CE1 --FCX (10.1.1.1)

telnet@FCX624x-HPOE# ping 10.1.1.2
Sending 1, 16-byte ICMP Echo to 10.1.1.2, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 10.1.1.2 : bytes=16 time=2ms TTL=64
Success rate is 100 percent (1/1), round-trip min/avg/max=2/2/2 ms.



2. PE2 - CES (5.1 code with ME_PREM)

router mpls

mpls-interface e1/8
ldp-enable

vll temp 999
vll-peer 10.65.0.10
vlan 11
tagged e 1/11
<-- Make sure it is a tag port. For a tag port, a <vlan-id,port> pair constitutes a VLL endpoint.

vll tempraw 998 raw-mode<-- It's a raw-mode
vll-peer 10.65.0.10
vlan 10
tagged e 1/11
<-- The port e 1/12 is under vlan 10 in raw-mode. The port 1/12 intag-mode was under vlan 11.

telnet@PE2# sh mpls vll br
Name VC-ID Vll-peer End-point Stat
Tunnel-LSP
temp 999 10.65.0.10 tag vlan 11 e 1/11 UP
tnl1
tempraw 998 10.65.0.10 tag vlan 10 e 1/11 UP
tnl1

In the above output, 10.65.0.10 is a loopback address of PE1.

CE2 --- XMR (10.1.1.2)

telnet@NetIron XMR-4000 Router# ping 10.1.1.1
Sending 1, 16-byte ICMP Echo to 10.1.1.1, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 10.1.1.1 : bytes=16 time=938ms TTL=64
Success rate is 100 percent (1/1), round-trip min/avg/max=938/938/938 ms.

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255