MPLS and L3VPN lab 5 of 11
A Junos PE with an IOS PE over an IOS P
Bring a Juniper router into an IOS MPLS core as a PE in a customer's VPN. Build LDP, MP-BGP and the VRF on Junos, read inet.3, mpls.0 and bgp.l3vpn.0, prove the LSP with MPLS ping in both directions and find the MTU difference.
Run this lab
It needs Standard: its 5 nodes are set to 8 vCPU and 7,168 MB in total.
In your workspace: Shared, then MPLS and L3VPN guided labs, then 05 - A Junos PE with an IOS PE over an IOS P
- Level
- Advanced
- Time
- About 100 minutes
- Nodes need
- 8 vCPU, 7,168 MB
- Smallest plan
- Standard
The scenario
Wrenfield Networks has bought a Juniper router for its Bristol exchange. Your IOS core and your IOS PE don't care who made a router, because LDP and MP-BGP are open standards. The team still has to run it, and almost every word for the same idea is different. You'll bring up PE2 as a PE in Alder Foods' VPN, then compare the two vendors' views of the same labels.
| Device | Role | Loopback | Notes |
|---|---|---|---|
| PE1 | IOS PE | 10.255.0.1 | VRF ALDER, RD 65100:1, RT 65100:100 |
| P | IOS P | 10.255.0.2 | LDP only, no BGP |
| PE2 | Junos PE | 10.255.0.3 | You build this: RD 65100:3, RT 65100:100 |
| CE1 | Alder site 1 | AS 65201, LAN 192.168.1.0/24 | |
| CE2 | Alder site 2 | AS 65202, LAN 192.168.2.0/24, peers with 172.16.2.1 |
The same idea has different names on the two systems:
| Idea | IOS | Junos |
|---|---|---|
| Enable labels on a link | mpls ip | family mpls on the unit, and the unit under protocols mpls and protocols ldp |
| Label table for next hops | LFIB | inet.3 for LSP endpoints, mpls.0 for incoming labels |
| VPN routes | show bgp vpnv4 unicast all | show route table bgp.l3vpn.0 |
| VRF | vrf definition | routing-instances NAME instance-type vrf |
| VRF routing table | show ip route vrf ALDER | show route table ALDER.inet.0 |
| Route targets | route-target import and export | vrf-target sets both |
| Device | Interface | Address | Connects to |
|---|---|---|---|
| CE1 | Loopback1 | 192.168.1.1/24 | |
| CE1 | Gi0/0 | 172.16.1.2/30 | PE1 Gi0/0 |
| PE1 | Loopback0 | 10.255.0.1/32 | |
| PE1 | Gi0/0 | 172.16.1.1/30 | CE1 Gi0/0 |
| PE1 | Gi0/1 | 10.0.12.1/30 | P Gi0/0 |
| P | Loopback0 | 10.255.0.2/32 | |
| P | Gi0/0 | 10.0.12.2/30 | PE1 Gi0/1 |
| P | Gi0/1 | 10.0.23.1/30 | PE2 ge-0/0/0 |
| PE2 | ge-0/0/0 | 10.0.23.2/30 | P Gi0/1 |
| PE2 | ge-0/0/1 | 172.16.2.1/30 | CE2 Gi0/0 |
| PE2 | lo0 | 10.255.0.3/32, 127.0.0.1/32 | |
| CE2 | Loopback1 | 192.168.2.1/24 | |
| CE2 | Gi0/0 | 172.16.2.2/30 | PE2 ge-0/0/1 |
What you’ll practise
- Enable MPLS and LDP on Junos and read the session from both vendors
- Explain what inet.3, mpls.0, bgp.l3vpn.0 and the VRF table each hold
- Build a Junos VRF with an RD, a target and an eBGP customer
- Use MPLS ping and traceroute across vendors
- Find and fix the MPLS MTU difference between the two systems
The tasks
- Add MPLS and LDP
- Build the MP-BGP session
- Build the VRF
- Use each vendor's MPLS ping
- Check the MTU
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- CE1
Gi0/0to PE1Gi0/0 - PE1
Gi0/1to PGi0/0 - P
Gi0/1to PE2ge-0/0/0 - PE2
ge-0/0/1to CE2Gi0/0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| CE1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| PE1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| P | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| PE2 | Juniper vJunos-router | vjunosrouter-24.2R1-S2.5 | 4 vCPU, 5,120 MB |
| CE2 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
MPLS and L3VPN guided labs.Open
05 - A Junos PE with an IOS PE over an IOS Pand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More MPLS and L3VPN labs
Related labs in other courses
CloudLabBox is independent of Cisco, Juniper Networks and MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.