show backup-selection
Syntax
show backup-selection <instance
instance-name> <interface
interface-name> <logical-system
logical-system-name> <prefix
prefix>
Description
Display the configured policies for each destination (IPv4 and IPv6) and a primary next-hop interface.
Options
instance instance-name |
(Optional) Display configured policy for the routing instance. |
interface interface-name |
(Optional) Display configured policy for the interface. |
logical-system logical-system-name |
(Optional) Display configured policy for a particular logical system or for all logical systems. |
prefix prefix |
(Optional) Display configured policy for the destination. |
Required Privilege Level
view
Output Fields
Table 1 describes the output fields for the show backup-selection command. Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Destination prefix . |
|
Primary interface to reach the destination.
|
|
Specifies the administrative groups to be excluded. The backup path is not selected as the loop free alternative or backup next hop if any of the links in the path have any one of the listed administrative groups. |
|
Requires each link in the backup path to have all the listed administrative groups in order to accept the path. |
|
Requires each link in the backup path to have at least one of the listed administrative groups in order to select the path. |
|
Defines an ordered set of administrative groups that specifies the preference of the backup path. The leftmost element in the set is given the highest preference. |
|
Specifies the list of nodes to be excluded. The backup path that has a router from the list is not selected as the loop free alternative or backup next hop. |
|
Defines an ordered set of nodes to be preferred. The backup path having the leftmost node is selected. |
|
Specifies the backup selection to exclude the set of route tags in the backup path selection. |
|
Specifies the set of route tags in descending order of preference. |
|
Specifies the required protection type of the backup path.
|
|
Selects the backup path that is a downstream path to the destination. |
|
Evaluates common srlgs between the primary link and each link in the backup path.
|
|
Uses backup next hop only if the bandwidth is greater than or equal to the primary next hop. |
|
Metric to one-hop node or remote router such as an RSVP backup label switched path (LSP) tail-end router. |
|
Metric from one-hop node or remote router such as an RSVP backup label switched path (LSP) tail-end router to the final destination. |
|
Defines the evaluation order of the metric (root and dest metrics) results. |
|
Defines the evaluation order of the backup policy. |
Sample Output
- show backup-selection
- show backup-selection instance instance-name
- show backup-selection interface interface-name
show backup-selection
user@host> show backup-selection Prefix: 0.0.0.0/0 Interface: all Admin-group exclude: c6 Admin-group include-all: c1 c2 Admin-group include-any: c3 c4 Admin-group preference: c8 Nodes excluded: 100.0.7.2 Node preference: 100.2.6.2 Node-tags excluded: 1004 Node-tag preference: 1007 Protection Type: Link, Downstream Paths Only: Enabled, SRLG: Strict, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Root-metric, Dest-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth, Protection, Node, Node-Tag, Metric Interface: ge-1/2/5.0 Admin-group include-all: c1 Admin-group include-any: c2 Admin-group preference: c4 Nodes excluded: 10.218.32.0 Node preference: 10.92.8.0 Protection Type: Link, Downstream Paths Only: Enabled, SRLG: Strict, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Root-metric, Dest-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth, Protection Prefix: 10.150.0.0/16 Interface: all Admin-group include-all: c1 Admin-group include-any: c2 Admin-group preference: c5 Nodes excluded: 10.218.32.0 Node preference: 10.92.8.0 Node-tags excluded: 1004 Node-tag preference: 1007 Protection Type: Link, Downstream Paths Only: Enabled, SRLG: Loose, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Dest-metric, Root-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth Prefix: ::/0 Interface: all Admin-group exclude: c2 Admin-group include-all: c1 c3 Admin-group include-any: c4 c5 Admin-group preference: c6 Node preference: 100.0.1.2 Protection Type: Link, Downstream Paths Only: Disabled, SRLG: Strict, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Dest-metric, Root-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth
show backup-selection instance instance-name
user@host> show backup-selection instance r Prefix: 0.0.0.0/0 Interface: all Admin-group include-any: c4 Admin-group preference: c6 c0 Nodes excluded: 100.0.4.2 Node preference: 100.4.5.1 Node-tags excluded: 1007 Node-tag preference: 1004 Protection Type: Link, Downstream Paths Only: Enabled, SRLG: Loose, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Dest-metric, Root-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth
show backup-selection interface interface-name
user@host> show backup-selection interface ge-1/2/5.0 Prefix: 0.0.0.0/0 Interface: ge-1/2/5.0 Admin-group include-all: c1 Admin-group include-any: c2 Admin-group preference: c4 Nodes excluded: 10.218.32.0 Node preference: 10.92.8.0 Protection Type: Link, Downstream Paths Only: Enabled, SRLG: Strict, B/w >= Primary: Enabled, Root-metric: lowest, Dest-metric: lowest Metric Evaluation Order: Root-metric, Dest-metric Policy Evaluation Order: Admin-group, SRLG, Bandwidth, Protection Prefix: 10.150.0.0/16 Prefix: ::/0
Release Information
Command introduced in Junos OS Release 14.1.