JN0-106 ยท Routing policy
Import and export policies
Where import and export policies apply, their effect on the routing table, applying a policy, and checking results with show route receive-protocol and advertising-protocol.
Key points
- Import policy: which routes a protocol places into the routing table.
- Export policy: which routes from the routing table the protocol advertises.
- Apply with import and export statements under the protocol (BGP: global, group or peer level).
- show route receive-protocol bgp <neighbor>: routes as received, before import policy effects.
- show route advertising-protocol bgp <neighbor>: routes as sent after export policy.
Practice questions
Which kind of policy controls which routes a protocol installs into the routing table?
- Export policy
- Import policy
- Firewall filter
- Forwarding-table policy only
Show answer
Answer: B. Import policy
Import policies govern what enters the routing table from a protocol. Export policies govern what is advertised out of the routing table by a protocol.
At which levels can BGP import and export policies be applied?
- Global BGP level
- BGP group level
- BGP peer (neighbor) level
- Logical interface level
- Firewall filter level
Show answer
Answer: A. Global BGP level, B. BGP group level, C. BGP peer (neighbor) level
BGP supports import and export policies at the global, group and peer (neighbor) levels. Interfaces and firewall filters are different mechanisms and are not attachment points for BGP routing policy.
The output of show route receive-protocol bgp shows the effect of your import policy on the route attributes.
Show answer
Answer: False
False. That output shows routes as they were received from the neighbor and does not reflect import policy changes to the attributes. Use show route to see the result in the routing table.
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.
