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.

Aug 14, 2024 - 14:52
Updated: 
102.5k

Networking in IT Infrastructure · Interview preparation

BGP Interview Questions for CCNA Learners and Beyond

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?

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 routeLocal preferenceAS-path lengthResult under these assumptions
A2003Preferred at local preference
B1001Shorter 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.

ObservationInvestigate nextDo not assume
Session EstablishedAccepted routes and negotiated familiesAll intended prefixes are usable
Route received, not selectedEligibility and policy attributesShortest AS path must win
Selected path, service failsInstallation, next hop and return pathBGP 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

Earlier applicable eligibility and selection conditions can decide first, so compare the actual policy and attributes before relying on AS-path length.

Weight is a local Cisco selection attribute and is not transmitted as a standard BGP attribute to another speaker.

Session state does not establish accepted prefixes, route installation, next-hop resolution, return traffic or the application’s own successful operation.

Its comparison scope depends on the applicable rules and configuration, so a global ranking without those conditions is misleading.

Route reflection changes propagation relationships but still needs deliberate topology, policy, redundancy and next-hop reachability planning for the intended network.

Defined well-known communities have specified meanings, while custom values require the receiving operator’s documented policy to produce an intended effect.

Compare Cisco’s published exam scope with the employer’s interview scope, since broader technical interview questions do not redefine certification objectives.

The route comparison uses supplied fictional attributes and documented assumptions, without establishing sessions, changing routing policy or transmitting advertisements.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.