CCNP Service Provider lab 6 of 23
BGP security and DDoS tools
Harden an eBGP edge on IOS XR with TTL security, a password and prefix limits. Suppress specifics, block spoofed sources with uRPF, protect the infrastructure with an ACL, and drop an attack with RTBH.
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 06 - BGP security and DDoS tools
- Level
- Advanced
- Time
- About 90 minutes
- Nodes need
- 4 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Fellgate Carrier's edge R1 takes traffic from a peer, PEER (AS 65010). Behind R2 is a hosting customer, CUST (AS 65020), whose web server 198.19.1.1 keeps being attacked. Last week PEER also leaked a batch of routes by mistake and nearly filled a router. Your job is to harden the BGP sessions, keep the customer's table tidy, and be ready to drop attack traffic at the edge.
IS-IS, iBGP and both eBGP sessions are up, with a PASS policy on the eBGP sessions and no protection at all.
| Device | Interface | Address | Connects to |
|---|---|---|---|
| PEER | Loopback1 | 192.168.10.1/24 | |
| PEER | Loopback9 | 100.64.9.1/24 | |
| PEER | 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 | PEER 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/2 | 172.16.2.1/30 | CUST Gi0/0 |
| CUST | Loopback1 | 198.19.0.1/26 | |
| CUST | Loopback2 | 198.19.0.65/26 | |
| CUST | Loopback3 | 198.19.1.1/24 | |
| CUST | Gi0/0 | 172.16.2.2/30 | R2 Gi0/0/0/2 |
What you’ll practise
- Protect an eBGP session with TTL security and TCP MD5
- Apply a prefix limit and recover from it
- Suppress specifics with an aggregate
- Apply strict uRPF and read its drops
- Use an infrastructure ACL
- Build and trigger remotely triggered black hole
The tasks
- Protect the BGP session
- Limit how many prefixes a neighbour can send
- Suppress the customer's specifics
- Check source addresses with uRPF
- Keep outsiders off the infrastructure
- Blackhole the attack with RTBH
- Flowspec, in concept
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
- PEER
Gi0/0to R1Gi0/0/0/2 - R1
Gi0/0/0/0to R2Gi0/0/0/0 - R2
Gi0/0/0/2to CUSTGi0/0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| PEER | 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 |
| CUST | 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
06 - BGP security and DDoS toolsand 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.