Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




"global" default preference5
per static route


Next-hop options
next-hop <ip_address>
next-table<table_name>
discard/rejectReject =drop + send ICMP unreachable


qualified-next-hopfor backup


Direct = subnet

local = local interface

preference 0 for Local and Direct



Configuration

set protocol-options static route 0/0 next-hop <ip@>

set protocol-options static route 0/0 qualified-next-hop <ip@> preference 7


selected

https://www.juniper.net/documentation//en_US/junos/topics/reference/configuration-statement/qualified-next-hop-edit-routing-options.html

the one with the lowest preference is selected ( by default for static route: next-hop then qualified-next-hop )