BGP Interview Questions for CCNA Learners and Beyond
BGP interview answers should connect reachability with routing policy. A shorter AS path is not automatically the chosen path when an earlier applicable policy attribute differs. The questions below use two supplied upstream routes to show why eligibility, local preference and next-hop reachability must be checked before blaming the protocol. They also cover iBGP, eBGP, communities and route reflection.
Topic: Networking in IT Infrastructure · Interview preparation
Quick answer: BGP interview answers should connect reachability with routing policy. A shorter AS path is not automatically the chosen path when an earlier applicable policy attribute differs. The questions below use two supplied upstream routes to show why eligibility, local preference and next-hop reachability must be checked before blaming the protocol. They also cover iBGP, eBGP, communities and route reflection. BGP extends beyond the core CCNA routing objectives, so use this as additional interview practice rather than a claim that every detail appears in the current CCNA exam.
Key takeaways
- Check route eligibility before comparing best-path attributes.
- Local preference can decide before AS-path length.
- Cisco weight is a local implementation attribute, not a transmitted BGP attribute.
- iBGP propagation and next-hop reachability require deliberate design.
- Route filtering and accepted policy matter as much as session state.
Table of Contents
- Which BGP fundamentals should you explain first?
- What must be true before comparing two candidate paths?
- How would local preference affect the supplied upstream case?
- Which iBGP and route-reflection questions matter?
- How should communities and address families be described?
- What operational protections belong in a BGP answer?
- How should you answer a BGP fault follow-up?
- References
Which BGP fundamentals should you explain first?
1. What does BGP do? RFC 4271 defines BGP-4 for exchanging reachability with path attributes. Policy is central to its operation; it is not simply a shortest-distance interior routing protocol.
2. How do iBGP and eBGP differ? They describe sessions within an autonomous system and between autonomous systems. Understand the propagation and next-hop rules before reducing the difference to one administrative-distance value.
3. Is all of this core CCNA exam material? No. Check Cisco’s current CCNA scope separately from an employer’s interview requirements. An interviewer can ask broader questions without changing the certification blueprint.
What must be true before comparing two candidate paths?
4. Does an Established session prove an advertised prefix is usable? No. A session can be healthy while policy rejects a prefix, its next hop is unresolved, or a different route is installed. Session state and forwarding evidence answer different questions.
5. Why does next-hop reachability matter? A path needs the relevant usable next-hop resolution to qualify. Cisco’s best-path guide lists eligibility and comparison considerations. Do not compare attractive attributes on an ineligible route as though it were a forwarding candidate.
6. Does a received route automatically reach every local router? No. Import policy, propagation rules, route reflection and the local design determine what is accepted and shared. Distinguish received, accepted, selected and installed information.
How would local preference affect the supplied upstream case?
In this illustrative case, two eligible routes reach the same prefix. Both have equal Cisco weight and neither is locally originated. Route A has local preference 200 and an AS path of three AS numbers; B has local preference 100 and a one-AS path. Under the stated normal comparison, A wins at local preference before AS-path length is considered.
| Supplied route | Local preference | AS-path length | Result under these assumptions |
|---|---|---|---|
| A | 200 | 3 | Preferred at local preference |
| B | 100 | 1 | Shorter path does not override the earlier decision |
7. Is this the complete best-path algorithm? No. The example fixes earlier conditions deliberately and compares two attributes. Additional steps, options, multipath and platform behaviour require the applicable documentation.
8. What is Cisco weight? It is a local Cisco path-selection attribute. It is not a standard BGP path attribute advertised to another router. Distinguish it from local preference, which is used within the AS.
9. Can you rank all MED values globally? Not without the applicable comparison rules and configuration. MED is commonly compared among paths from the same neighbouring AS; options and policy can change that scope.
Which iBGP and route-reflection questions matter?
10. Why does basic iBGP need a propagation design? A route learned from an iBGP peer is not simply re-advertised to every other iBGP peer under the ordinary rule. A full-mesh or supported alternative addresses that distribution requirement.
11. What does a route reflector change? RFC 4456 defines route reflection and associated loop-prevention attributes. Describe client and non-client relationships and design implications instead of saying that one reflector automatically makes every route optimal.
12. Do BGP speakers have to be directly cabled? Sessions can use IP reachability according to the session type and configuration. Separate physical attachment, transport reachability, peer configuration and policy. Do not infer an adjacency from a diagram line alone.
13. Does next-hop-self fix every iBGP problem? It can change the advertised next hop in an appropriate configuration. It does not repair missing underlay reachability, rejected prefixes or every route-reflection policy problem.
How should communities and address families be described?
14. What is a BGP community? It is a route attribute used to support policy grouping and interpretation. RFC 1997 defines standard communities. A tag has no universal custom meaning unless the receiving policy assigns one.
15. Are NO_EXPORT and NO_EXPORT_SUBCONFED identical? No. Their defined export boundaries differ, including confederation considerations. Use the exact specification instead of paraphrasing both as “never send this anywhere”.
16. What does multiprotocol BGP add? RFC 4760 defines extensions for multiple network-layer protocols and address families. A session being up does not prove that every intended family was negotiated, populated and permitted.
What operational protections belong in a BGP answer?
17. Why filter accepted and advertised prefixes? RFC 7454 describes BGP operational and security practices. A session with the intended peer can still carry unintended routes; explicit import and export policy limits that exposure.
18. Does an AS path guarantee that every forwarding loop is impossible? No broad operational guarantee follows. AS-loop detection is an important BGP mechanism, but configuration, redistribution and the wider forwarding design can introduce different problems.
| Observation | Investigate next | Do not assume |
|---|---|---|
| Session Established | Accepted routes and negotiated families | All intended prefixes are usable |
| Route received, not selected | Eligibility and policy attributes | Shortest AS path must win |
| Selected path, service fails | Installation, next hop and return path | BGP session state validates the application |
How should you answer a BGP fault follow-up?
19. What would you request for the upstream case? Ask for the exact prefix, observation time, next-hop resolution, earlier comparison conditions and applied policy. If A is selected as supplied, that is explained by local preference; it is not evidence that BGP ignored AS paths.
20. What would you verify before changing policy? Identify affected prefixes and traffic direction, approved preference, expected failure behaviour and rollback. Compare accepted, selected and installed routes after an authorised change. Avoid assuming that an outbound traffic preference controls every inbound path.
These are invented route records and documented comparison rules. No BGP session, route advertisement or provider policy was changed. A useful interview answer makes the reason for selection and the remaining operational checks explicit.
Related reading: OSPF interview questions; experienced networking interview questions.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0