Chapter 4 of 10 · Juniper JNCIS-SP JN0-364

BGP

BGP operation and messages, attributes and route selection, IBGP and EBGP peers, options and routing policy.

  • 4topics
  • 22 minfast track
  • 1diagrams and exhibits

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1BGP Operation and Message TypesLearn how BGP works on Junos for the JNCIS-SP JN0-364: TCP port 179, the neighbor states, the five message types, hold time and…5 min
  2. 2BGP Attributes and Route SelectionLearn BGP path attributes and the Junos route selection order for JNCIS-SP JN0-364: local preference, AS path, origin, MED, EBGP…5 min
  3. 3IBGP, EBGP, Groups and PeersConfigure and verify Junos BGP groups and peers for the JNCIS-SP JN0-364: IBGP full mesh, loopback peering, EBGP next hops, split…Diagram6 min
  4. 4BGP Options and Routing PolicyLearn common Junos BGP options and how to apply routing policy to BGP for the JNCIS-SP JN0-364: default policies, next-hop self…6 min

About this chapter

What this chapter covers

BGP is the protocol a service provider uses to exchange routes with customers and other providers, and to carry those routes across its own network. This chapter covers how BGP sessions form, what each message does, how Junos OS chooses one best path from many, how IBGP and EBGP differ, and how options and routing policy control what is accepted and advertised.

Questions are mostly single-answer and multiple-answer. Many show show bgp summary, show route detail or a group configuration and ask why a session is down, why a route is hidden or which path is active.

It has 8 outline topics, and four pages cover them.

How the topics fit together

A session must reach Established before any route moves. Then routes arrive with attributes, the selection process picks one active path per prefix, and policy decides what goes in and what goes out.

Configure peersTCP 179Established sessionUPDATEImport policyacceptedBest path selectionactive routeExport policy

Learn the session states and message types first, then the attribute list and selection order, because the IBGP rules and the policy examples both depend on them.

Exam tip

Memorize the Junos defaults: BGP preference 170 for IBGP and EBGP, local preference 100, hold time 90 seconds, EBGP TTL 1, IBGP next hop unchanged, and a default export policy that advertises only active BGP routes.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with configuration and tables.
  • Common mistakes: the classic traps.
  • What to remember for the exam: the facts to memorize.
  • Check yourself: three questions to test your understanding.

For each show output in a question, find the state or the Inactive reason line first; it usually answers the question on its own.

Ready for more practice?

The full Juniper JNCIS-SP JN0-364 question bank has 860 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.