Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show route rpm-tracking

date_range 20-Sep-24

Syntax

content_copy zoom_out_map
show route rpm-tracking
<destination IP-address>
<owner name>
<test test-name>

Description

Display a brief summary of state of RPM-tracked routes along with the current state for a given test.

Options

destination IP-address

(Optional) Show RPM-tracked routes for a particular IPv4 or IPv6 destination prefix.

owner name

The probe owner as configured at the [edit services rpm probe owner] hierarchy level.

test test-name

The test name as configured at the [edit services rpm probe owner test test-name] hierarchy level.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show route rpm-tracking command. You can filter on routing table name, destination prefix, RPM probe owner, and RPM test name. If no filter is present all RPM-tracked routes are displayed. Output fields are listed in the approximate order in which they appear.

Table 1: show route rpm-tracking Output Fields

Field Name

Field Description

Destination

Displays the IPv4 or IPv6 address and optional prefix length of the configured target address.

Next-Hop

  • ucst

  • ulst

Specifies the IPv4 or IPv6 next-hop address of the route to be injected during failover. When there are multiple next-hop entries, a type attribute is shown to indicate whether it is a single unicast next-hop, ucst, or a list of unicast next-hops, ulst.

Metric

Specifies a number that is associated with route preference; when multiple routes have the same preference, the route with the lowest metric is made active in the routing table.

Preference

Specifies a number that is used to select routes to destinations in external autonomous systems (ASs) or routing domains. The route with lowest preference value is selected by the routing protocol process as the active one. This column in the output appears only if you configured the preference statement at the [edit routing-options rpm-tracking route destination-prefix] hierarchy level.

.

Route-tag

Specifies a number that is used to represent and advertise a group of routes throughout the routing domain. The route with the lowest tag value is selected by the routing protocol process as the active one. This column in the output appears only if you configured the tag statement at the [edit routing-options rpm-tracking route destination-prefix] hierarchy level.

Owner

Name of the probe owner.

Test Name

Name of the test.

State

Display the state of the route injection action. Routes added to the routing table appear as active in RPM. The initial state of an RPM-tracked route, that is, before the first completion of its associated RPM test, is inactive. Routes removed from the routing table appear as inactive.

Sample Output

show route rpm-tracking

content_copy zoom_out_map
user@host> show route rpm-tracking

Routing table: inet.0
Destination       Next-Hop      Metric    Owner    Test Name   State
10.10.10.0/24     10.10.10.11     1       probe1   test1       Active
10.10.20.0/24                     1         
                  10.10.10.22             probe1   test2       Active
                  10.10.10.33             probe1   test3       Inactive
10.10.30.0/24                     1
                  10.1.010.11             probe1   test1       Active

Routing table: inet6.0
2001:db8:10::/64  2001:db8:10::11 1       probe1   test1       Active
2001:db8:20::/64                  1         
                  2001:db8:10::22         probe1   test2       Active
                  2001:db8:10::33         probe1   test3       Inactive
10.10.20.0/24                     1
                  2001:db8:10::11         probe1   test1       Active


show route rpm-tracking when preference and tag are configured

content_copy zoom_out_map
user@host> show route rpm-tracking

Routing table: inet.0
Destination        Next-Hop      Metric   preference   route-tag    Owner      Test Name   State
10.10.10.0/0       -             5        50           12           -          -           -          
                   10.10.10.11   -        -            -            RPM-OWNER  RPM-TEST    Active
Destination        Next-Hop      Metric   preference   route-tag    Owner      Test Name   State
10.10.10.0/16      -             2        18           15           -          -           -          
                   10.10.10.22   -        -            -            RPM-OWNER  RPM-TEST1   Inactive
                   10.10.10.33   -        -            -            RPM-OWNER  RPM-TEST    Active

Routing table: inet6.0
Destination        Next-Hop         Metric   preference   route-tag    Owner      Test Name   State
2001:db8:10::/64   -                2        11           4            -          -           -          
                   2001:db8:10::11  -        -            -            RPM-OWNER  RPM-TEST    Active


show route rpm-tracking destination destination-prefix

content_copy zoom_out_map
user@host> show route rpm-tracking destination 10.39.0.0/16

Routing table: inet.0
Destination              Next-Hop                 Metric    Owner           Test Name       State
10.39.0.0/16             10.20.21.2               2         probe-delegate  test7984        Active    
10.39.1.0/16             10.20.21.3               2         probe-delegate  test7985        Active    
10.39.2.0/16             10.20.21.4               2         probe-delegate  test7986        Active    
10.39.3.0/16             10.20.21.5               2         probe-delegate  test7987        Active    
10.39.4.0/16             10.20.21.6               2         probe-delegate  test7988        Active    

show route rpm-tracking destinationdestination-prefix when preference and tag are configured

content_copy zoom_out_map
user@router> show route rpm-tracking destination 10.10.10.0/32

Routing table: inet.0
Destination        Next-Hop       Metric   preference   route-tag    Owner     Test Name   State
10.10.10.0/32      -              1        14           20           -         -           -          
                   10.10.10.2     -        -            -            probe-1   test-1-1    Active

show route rpm-tracking destination destination-prefix owner name test test-name

content_copy zoom_out_map
user@host> show route rpm-tracking destination 10.39.0.0/16 owner probe-delegate test test7998

Destination              Next-Hop                 Metric    Owner           Test Name       State
10.39.14.0/24            10.20.21.2               2         probe-delegate  test7998        Active        inet.0 

show route rpm-tracking destination destination-prefix owner name test test-name when preference and tag are configured

content_copy zoom_out_map
user@router> show route rpm-tracking destination 10.10.10.0/32 owner probe-1 test test-1-1

Destination        Next-Hop       Metric   preference   route-tag    Owner     Test Name   State
10.10.10.0/32      -              1        14           20           -         -           -           inet.0
                   10.10.10.2     -        -            -            probe-1   test-1-1    Active

Release Information

Command introduced in Junos OS Release 18.4 R1.

Output showing multiple next hops added in Junos OS Release 19.1R1.

Output showing new preference and route-tag fields added in Junos OS Release 20.4R1.

footer-navigation