interface (Backup Selection OSPF)
Syntax
interface (interface-name | all) { admin-group { exclude [ group-name ]; include-all [ group-name ]; include-any [ group-name ]; preference [ group-name ]; } bandwidth-greater-equal-primary; dest-metric (highest | lowest); downstream-paths-only ; evaluation-order [ admin-group srlg bandwidth protection-type node metric ]; metric-order [ root dest ]; node { exclude [ node-address ]; preference [ node-address ]; } protection-type (link | node| node-link); root-metric (highest | lowest); srlg (loose |strict); }
Hierarchy Level
[edit logical-systems logical-system-name routing-options backup-selection destination prefix], [edit logical-systems logical-system-name routing-instances instance-name routing-options backup-selection destination prefix], [edit routing-instances instance-name routing-options backup-selection prefix], [edit routing-options backup-selection destination prefix]
Description
Define the backup selection policy for a specific primary next hop.
Options
interface-name | Name of the primary next-hop interface. |
||||||
all | All the interfaces. |
||||||
bandwidth-greater-equal-primary | Allow the selection of the backup next hop only if the bandwidth is greater than or equal to the bandwidth of the primary next hop. |
||||||
dest-metric (highest lowest) | Specifiy the metric from the one-hop neighbor or from the remote router such as an RSVP backup label-switched-path (LSP) tail-end router to the final destination.
|
||||||
downstream-paths-only | Select the backup path that is a downstream path to the destination. |
||||||
evaluation-order [ admin-group srlg bandwidth protection-type node metric ] | Control the order and the criteria of evaluating the backup path. The default order of evaluation is admin-group, srlg, bandwidth, protection-type, node and metric. Note:
For the explicitly configured evaluation order, only the listed attributes influence the selection of the backup path. |
||||||
metric-order [ root dest ] | Specify the order of preference of the root and the destination metric during the backup path selection. The preference order can be:
Note:
Backup path selection or preference is first based on the dest-metric criteria. If the criteria of all the dest-metric is the same, then the selection is based on the root-metric. By default, backup paths with lower destination metric criteria are selected or preferred. If the criteria is the same, then the lowest root metric criteria is preferred or selected.
|
||||||
protection-type (link | node | node-link) | Specify the required protection type of the backup path. Note:
If no protection-type is configured, then by default the first best path that matches all the other criteria is executed.
|
||||||
root-metric (highest lowest) | Specify the metric to the one-hop neighbor or to the remote router such as an RSVP backup label-switched-path (LSP) tail-end router.
|
||||||
srlg (loose | strict) | Define the backup selection to either allow or reject the common shared risk link groups (SRLGs) between the primary link and any link in the backup path.
|
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.1.