Bitzu

JN0-106 ยท Routing policy

Default routing policies and policy flow

Default import and export behaviour per protocol, how policy chains are evaluated, and the final default action.

Key points

  • The protocol's default policy applies when no configured policy decides.
  • BGP: accepts received routes into inet.0 / inet6.0, readvertises active routes; IBGP-learned routes skip other IBGP peers unless on a route reflector.
  • OSPF: accepts external routes, exports nothing (floods LSAs instead).
  • IS-IS, RIP, LDP: reject everything on export.
  • Chain: term by term, then policy by policy; no match means the protocol's default action.

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/concept/policy-routing-policies-actions-defaults.html

Practice questions

Single choice

What does the default OSPF export policy do with routes from the routing table?

  1. It exports every active route to all neighbors
  2. It rejects all routes; LSA flooding handles the announcements
  3. It exports only static and direct routes
  4. It exports only routes with the lowest preference
Show answer

Answer: B. It rejects all routes; LSA flooding handles the announcements

The default OSPF export policy rejects everything, because OSPF announces its own and learned routes by flooding LSAs rather than by exporting from the routing table. Accepting all active routes is closer to what BGP does by default.

Select all that apply

Which protocols reject all routes by default on export, so announcements need other means or an explicit policy?

  1. RIP
  2. BGP
  3. OSPF
  4. IS-IS
  5. MPLS
Show answer

Answer: A. RIP, C. OSPF, D. IS-IS

RIP, OSPF and IS-IS all have a reject-everything default export policy (OSPF and IS-IS announce via flooding; RIP needs a configured export policy). BGP readvertises active routes and MPLS accepts and exports active routes by default.

True or false

A BGP router with no export policy configured advertises no routes to its peers.

Show answer

Answer: False

False. The default BGP export behaviour readvertises active routes to BGP speakers, with the IBGP-to-IBGP restriction unless the router is a route reflector. It is RIP that sends nothing until an export policy exists.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module