Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show backup-selection

 

Syntax

Release Information

Command introduced in Junos OS Release 14.1.

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

List of Sample Output

show backup-selection

show backup-selection instance instance-name

show backup-selection interface interface-name

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.

Table 1: show backup-selection Output Fields

Field Name

Field Description

Prefix

Destination prefix .

Interface

Primary interface to reach the destination.

  • all — All the interfaces on the router which requires backup path.

  • <interface-name> — Specific primary interface in the backup path.

admin-group exclude

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.

admin-group include-all

Requires each link in the backup path to have all the listed administrative groups in order to accept the path.

admin-group include-any

Requires each link in the backup path to have at least one of the listed administrative groups in order to select the path.

admin-group preference

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.

nodes excluded

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.

nodes preference

Defines an ordered set of nodes to be preferred. The backup path having the leftmost node is selected.

node-tags excluded

Specifies the backup selection to exclude the set of route tags in the backup path selection.

node-tags preference

Specifies the set of route tags in descending order of preference.

protection-type

Specifies the required protection type of the backup path.

  • node — Selects a backup path that provides node protection.

  • link — Selects the backup path that provides link protection.

  • node-link — Allows either node or link protection LFA where node-protection LFA is preferred over link-protection LFA.

downstream paths only

Selects the backup path that is a downstream path to the destination.

srlg

Evaluates common srlgs between the primary link and each link in the backup path.

  • strict — Rejects the backup path that has common srlgs between the primary link and any link in the backup path.

  • loose — Allows the backup path that has common srlgs between the primary link and any link in the backup path. The backup path with the fewer number of srlg collisions is preferred.

B/W >= primary

Uses backup next hop only if the bandwidth is greater than or equal to the primary next hop.

root-metric

Metric to one-hop node or remote router such as an RSVP backup label switched path (LSP) tail-end router.

dest-metric

Metric from one-hop node or remote router such as an RSVP backup label switched path (LSP) tail-end router to the final destination.

metric evaluation order

Defines the evaluation order of the metric (root and dest metrics) results.

policy evaluation order

Defines the evaluation order of the backup policy.

Sample Output

show backup-selection

user@host> show backup-selection

show backup-selection instance instance-name

user@host> show backup-selection instance r

show backup-selection interface interface-name

user@host> show backup-selection interface ge-1/2/5.0