JNCIP ENT BGP Routing and Policy Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 17 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the default hold time for BGP keepalive messages?

Explanation

BGP’s default hold time is 180 seconds. A router waits this long without receiving a KEEPALIVE, UPDATE, or NOTIFICATION message before declaring the peer unavailable. With default settings, KEEPALIVE messages are typically sent every one-third of the hold interval—60 seconds. Peers negotiate the hold time when establishing a BGP session.

Submit
Please wait...
About This Quiz
JNCIP Ent Bgp Routing and Policy Quiz - Quiz

This quiz assesses your understanding of BGP routing fundamentals and policy implementation in enterprise Juniper networks. It covers BGP attributes, route selection, policy configuration, and best practices for controlling traffic flow. Ideal for network engineers preparing for JNCIP ENT certification or those managing complex BGP deployments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the purpose of setting 'next-hop self' in an iBGP policy?

Explanation

In iBGP, routes normally retain the next-hop address they had when learned, which may not be reachable by other internal routers. Setting `next-hop self` rewrites that address to the advertising router’s own address, allowing iBGP neighbors to send traffic through it.

Submit

3. Which feature allows a router to advertise itself as the best path without actually being on the path?

Explanation

Conditional advertisement lets a router announce a route only when a specified condition is satisfied, such as the absence of another route. This can make the router’s advertised path appear preferable to neighboring routers and influence their traffic decisions, even though the advertising router may not be part of the actual forwarding path.

Submit

4. In Juniper BGP configuration, what does the 'type external' parameter specify?

Explanation

In Juniper BGP, `type external` configures an external BGP (eBGP) relationship. This means the neighbor belongs to a different autonomous system (AS) than the local router.

Submit

5. Which BGP state occurs after sending an Open message and waiting for a reply?

Explanation

In the BGP finite-state machine, a router enters **OpenSent** after the TCP connection is established and it sends its OPEN message. It remains in this state while waiting for the peer’s OPEN message or a notification indicating an error. Once the peer’s OPEN message is received and validated, the session moves to OpenConfirm.

Submit

6. What is the maximum number of BGP routes that can be stored in the routing table by default?

Explanation

BGP does not impose one universal default limit on the number of routes a routing table can hold. The practical maximum depends on the router’s hardware, available memory, operating system, and configuration. As routes consume resources, a system may reach its capacity, so the supported number varies across platforms and deployments.

Submit

7. In BGP policy, what does the 'set as-path' action accomplish?

Explanation

The `set as-path` action changes the AS path attribute of a route in a routing policy. This lets a network operator prepend or otherwise modify AS numbers before advertising the route to BGP peers, influencing how other networks evaluate and select the route.

Submit

8. Which BGP attribute indicates the origin of a route (IGP, EGP, or incomplete)?

Explanation

The Origin attribute identifies how a BGP route entered the routing system. It indicates whether the route originated from an interior gateway protocol (IGP), an exterior gateway protocol (EGP), or has an incomplete origin, such as when redistributed into BGP.

Submit

9. What does the BGP 'soft reconfiguration inbound' feature enable?

Explanation

“Soft reconfiguration inbound” stores received BGP updates before inbound policy changes are applied. When the policy changes, the router can reprocess those stored routes without resetting the BGP session with the peer.

Submit

10. In Juniper, which statement within a policy allows matching based on route prefix?

Explanation

`match destination` specifies the destination prefix or address a policy should compare against. This lets the policy identify routes or traffic headed to a particular network and apply the configured action when the destination matches.

Submit

11. What is the default administrative distance for eBGP routes in Juniper?

Explanation

Juniper uses route preference rather than Cisco-style administrative distance. On Junos, BGP routes—including eBGP routes—have a default preference of 170. The value 20 is the Cisco administrative distance for eBGP, not the Juniper default.

Submit

12. How does BGP prevent routing loops in a multi-AS network?

Explanation

BGP records the autonomous systems a route has traversed in its AS_PATH attribute. When an AS receives an advertised route, it checks whether its own AS number already appears in that path. If so, it rejects the route, preventing the advertisement from creating a routing loop. Each AS prepends its number when passing routes onward.

Submit

13. What is the purpose of BGP communities in policy implementation?

Explanation

BGP communities are optional labels attached to route advertisements. Routers can match these labels in routing policies to apply actions such as changing route preference, controlling propagation, or grouping routes for handling. They provide a flexible way to coordinate policy across networks; they do not identify authenticated peers or encrypt traffic.

Submit

14. Which command displays BGP routes learned from a specific neighbor?

Explanation

`show route receive-protocol bgp` displays routes received from a BGP peer, typically with the neighbor’s address specified as an argument. This lets you inspect routes learned from that specific neighbor, unlike commands that show overall BGP route information or neighbor session status.

Submit

15. In a BGP policy, what does the 'then accept' statement do?

Explanation

The `then accept` statement ends evaluation of the matching policy term and permits the route. Any actions specified in that term, such as changing attributes, are applied before the route is accepted.

Submit

16. What does MED (Multi-Exit Discriminator) allow you to do?

Explanation

MED lets an autonomous system suggest which of its entry points a neighboring AS should use when sending traffic toward it. The neighboring AS can consider this metric alongside its own routing policies when choosing among multiple routes to the same destination.

Submit

17. Which BGP attribute is NOT propagated to eBGP neighbors by default?

Explanation

LOCAL_PREF is an internal BGP attribute used to choose the preferred route within an autonomous system. By default, it is not advertised to eBGP neighbors; other listed attributes, such as AS path and origin, are propagated.

Submit

18. What is the correct syntax for applying a routing policy to BGP in Juniper?

Explanation

In Juniper, routing policies are defined under `policy-options policy-statement`, then attached to BGP with `set protocols bgp ... export ` or `import `. `export` controls routes advertised to BGP peers, while `import` controls routes accepted from them. Thus, `set protocols bgp export/import` identifies the relevant configuration hierarchy and commands.

Submit

19. In BGP route selection, what does the LOCAL_PREF attribute control?

Explanation

LOCAL_PREF tells routers within an autonomous system which exit point to prefer when sending traffic to an external destination. BGP selects the route with the highest LOCAL_PREF value, allowing an AS to influence its outbound traffic. The attribute is shared among internal BGP peers and is not typically advertised to external peers.

Submit

20. Which BGP attribute is used as the primary tie-breaker when local preference is equal?

Explanation

When routes have equal local preference, BGP typically favors the route with the shorter AS path—the one that has passed through fewer autonomous systems. If the AS path lengths are also equal, BGP compares other attributes, such as origin type and MED, according to its best-path rules.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the default hold time for BGP keepalive messages?
What is the purpose of setting 'next-hop self' in an iBGP policy?
Which feature allows a router to advertise itself as the best path...
In Juniper BGP configuration, what does the 'type external' parameter...
Which BGP state occurs after sending an Open message and waiting for a...
What is the maximum number of BGP routes that can be stored in the...
In BGP policy, what does the 'set as-path' action accomplish?
Which BGP attribute indicates the origin of a route (IGP, EGP, or...
What does the BGP 'soft reconfiguration inbound' feature enable?
In Juniper, which statement within a policy allows matching based on...
What is the default administrative distance for eBGP routes in...
How does BGP prevent routing loops in a multi-AS network?
What is the purpose of BGP communities in policy implementation?
Which command displays BGP routes learned from a specific neighbor?
In a BGP policy, what does the 'then accept' statement do?
What does MED (Multi-Exit Discriminator) allow you to do?
Which BGP attribute is NOT propagated to eBGP neighbors by default?
What is the correct syntax for applying a routing policy to BGP in...
In BGP route selection, what does the LOCAL_PREF attribute control?
Which BGP attribute is used as the primary tie-breaker when local...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!