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 inactive-prefix

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show route inactive-prefix
<brief | detail | extensive | terse>
<logical-system (all | logical-system-name)>

Syntax (EX Series Switches)

content_copy zoom_out_map
show route inactive-prefix
<brief | detail | extensive | terse>

Description

Display inactive route destinations in each routing table.

Options

none

Display all inactive route destination.

brief | detail | extensive | terse

(Optional) Display the specified level of output. If you do not specify a level of output, the system defaults to brief.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Required Privilege Level

view

Output Fields

For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.

Sample Output

show route inactive-prefix

content_copy zoom_out_map
user@host> show route inactive-prefix   

inet.0: 14 destinations, 14 routes (13 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both

127.0.0.1/32        [Direct/0] 00:04:54
                    > via lo0.0

show route inactive-prefix detail

content_copy zoom_out_map
user@host> show route inactive-prefix detail   

inet.0: 14 destinations, 14 routes (13 active, 0 holddown, 1 hidden)
127.0.0.1/32 (1 entry, 0 announced)
         Direct Preference: 0
                Next hop type: Interface
                Next-hop reference count: 1
                Next hop: via lo0.0, selected
                State: <Hidden Martian Int>
                Age: 4:51 
                Task: IF
                AS path: I00:04:54
                    > via lo0.0

show route inactive-prefix extensive

The output for the show route inactive-prefix extensive command is identical to that of the show route inactive-path detail command. For sample output, see show route inactive-prefix detail.

show route inactive-prefix terse

content_copy zoom_out_map
user@host> show route inactive-prefix terse    

inet.0: 18 destinations, 18 routes (17 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both

A Destination        P Prf   Metric 1   Metric 2  Next hop        AS path
  127.0.0.1/32       D   0                       >lo0.0        

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation