QuestionQ19

VerifiedData Center Routing Protocols BGP/OSPF

You recently changed from using a static route to reach your Internet service provider to learning the route to your provider through BGP. You want the router to use the static route as a backup if the BGP session with your provider fails. However, the BGP route to your provider is not the active route in the router's routing table.

What is causing the BGP route to behave this way?

Explanation

Junos selects the route with the lower route-preference value. By default, static routes have a preference of 5 and BGP routes have a preference of 170, so the static route is selected as active. The static route must be assigned a higher preference than the BGP route to operate as the backup route.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!