AdvancedPublished 2026-07-03
Inbound Steering: AS-Path Prepending (Primary/Backup eBGP)
Bundle lab
Advanced CCNP BGP lab: Build parallel eBGP sessions between two ASes over primary and backup /30 links. Originate a service prefix from AS 65001 and influence AS 65002's inbound path by applying outbound AS-path prepending on the backup session only. Validate best-path selection and next-hop on the neighbor, and confirm reachability from hosts.
Learning objectives
- Stand up two parallel eBGP sessions between different ASNs on separate /30s
- Originate an exact-match prefix using the network ... mask command
- Apply a route-map with set as-path prepend on a specific neighbor outbound
- Validate that the neighbor prefers the primary path via shortest AS-path
- Troubleshoot common issues: missing mask on network, remote-as mismatch, misapplied route-map direction
Troubleshooting focus
- If the neighbor does not learn the prefix, check the exact-match network ... mask and ensure the route exists in the RIB
- If only one BGP session forms, validate both sides' neighbor remote-as values and interface IPs
- If inbound preference does not shift, ensure the prepend is applied on the BACKUP session outbound and that the AS sequence includes the local AS repeated
- If host pings fail, confirm both sides advertise their LANs or use the advertised loopback target
Topology
Subscribe to preview this lab's topology.
See plansGrade your work
How this lab is graded
- Build it your way. Where a lab lets you choose a value — a VLAN name, an interface description — grading checks that you configured it, not which name you picked. Names that another line has to reference, like an ACL applied with
access-class, are stated in the guide and do have to match. - Addresses, modes and protocol keywords are exact. An IP address, a subnet mask,
switchport mode trunk, an encapsulation — these carry the meaning of the lab, so they are graded as written in the guide. - Grading reads your saved configuration. Export the lab from CML after you have configured it, and make sure anything you set is in the running-config — a change that only exists in a terminal session never reaches the grader.
- You can submit as many times as you like. Your best score stands, and each attempt tells you which checks passed so you can work the gaps.
- Scored something you believe is correct? Use Report an issue on this page — that is exactly how the grading fixes in the changelog got found.
Create a free account to submit your lab for grading.
Create a free accountFound a problem with this lab?
Please sign in to report a problem — tying it to your attempts lets us reproduce and fix it faster.