CCNP Service Provider lab 4 of 23
Route policy language and route maps
Filter and tag exchange routes with a route map on IOS and route policy language on IOS XR, then redistribute both ways between IS-IS and BGP without a loop.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then CCNP Service Provider guided labs, then 04 - Route policy language and route maps
- Level
- Intermediate
- Time
- About 75 minutes
- Nodes need
- 4 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Fellgate Carrier's edge router R1 peers with an exchange, EXT (AS 64510). R2 connects LEG, a router Fellgate took over from Hollins Cable. LEG runs IS-IS and has never heard of BGP, and that won't change until it's replaced next year.
Three things have to happen:
- R1 takes only the two approved prefixes from the exchange, and tags them.
- R2 passes those prefixes into IS-IS, so LEG can reach the exchange.
- R2 passes LEG's office LAN into BGP, and nothing comes back round in a loop.
IS-IS and iBGP between R1 and R2 are running. The eBGP session to EXT is up, with no policy on it yet.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| EXT | Loopback1 | 203.0.113.1/24 | |
| EXT | Loopback2 | 198.51.100.1/24 | |
| EXT | Loopback3 | 192.0.2.129/25 | |
| EXT | Gi0/0 | 172.16.1.2/30 | R1 Gi0/0/0/2 |
| R1 | Loopback0 | 10.255.0.1/32 | |
| R1 | Gi0/0/0/0 | 10.0.12.1/30 | R2 Gi0/0/0/0 |
| R1 | Gi0/0/0/2 | 172.16.1.1/30 | EXT Gi0/0 |
| R2 | Loopback0 | 10.255.0.2/32 | |
| R2 | Gi0/0/0/0 | 10.0.12.2/30 | R1 Gi0/0/0/0 |
| R2 | Gi0/0/0/1 | 10.0.29.1/30 | LEG Gi0/0 |
| LEG | Loopback1 | 192.168.9.1/24 | |
| LEG | Loopback0 | 10.255.0.9/32 | |
| LEG | Gi0/0 | 10.0.29.2/30 | R2 Gi0/0/0/1 |
What you’ll practise
- Show that eBGP on IOS XR needs a route policy in both directions
- Write a route map with match and set clauses
- Build RPL with prefix, community and AS-path sets, parameters and apply
- Redistribute between IS-IS and BGP with tags
- Prove the policy with show commands and end-to-end traffic
The tasks
- See XR's default for eBGP
- A route map on IOS
- Route policy language on XR
- Redistribute with tags
- Prove it end to end
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
- EXT
Gi0/0to R1Gi0/0/0/2 - R1
Gi0/0/0/0to R2Gi0/0/0/0 - R2
Gi0/0/0/1to LEGGi0/0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| EXT | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| R1 | Cisco IOS XRv | xrv-k9-demo-6.3.1 | 1 vCPU, 2,560 MB |
| R2 | Cisco IOS XRv | xrv-k9-demo-6.3.1 | 1 vCPU, 2,560 MB |
| LEG | 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
CCNP Service Provider guided labs.Open
04 - Route policy language and route mapsand 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 CCNP Service Provider labs
All CCNP Service Provider labs
Related labs in other courses
CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.