Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show route hidden

    Syntax

    show route hidden<brief | detail | extensive | terse><logical-system (all | logical-system-name)>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Description

    Display only hidden route information. A hidden route is unusable, even if it is the best path.

    Options

    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

    List of Sample Output

    show route hidden
    show route hidden detail
    show route hidden extensive
    show route hidden terse

    Output Fields

    For information about output fields, see the output field table 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 hidden

    user@host> show route hidden
    inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden)
    Restart Complete
    + = Active Route, - = Last Active, * = Both
    127.0.0.1/32        [Direct/0] 04:26:38
                        > via lo0.0
    
    private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden)
    
    red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden)
    Restart Complete
    + = Active Route, - = Last Active, * = Both
    10.5.5.5/32         [BGP/170] 03:44:10, localpref 100, from 10.4.4.4
                          AS path: 100 I
                          Unusable
    10.12.1.0/24        [BGP/170] 03:44:10, localpref 100, from 10.4.4.4
                          AS path: 100 I
                          Unusable
    10.12.80.4/30       [BGP/170] 03:44:10, localpref 100, from 10.4.4.4
                          AS path: I
                          Unusable
    ...
    

    show route hidden detail

    user@host> show route hidden detail
    inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden)
    Restart Complete
    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>
                    Local AS:     1 
                    Age: 4:27:37 
                    Task: IF
                    AS path: I
    
    private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden)
    
    red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden)
    Restart Complete
    
    10.5.5.5/32 (1 entry, 0 announced)
             BGP    Preference: 170/-101
                    Route Distinguisher: 10.4.4.4:4
                    Next hop type: Unusable
                    Next-hop reference count: 6
                    State: <Secondary Hidden Int Ext>
                    Local AS:     1 Peer AS:     1
                    Age: 3:45:09 
                    Task: BGP_1.10.4.4.4+2493
                    AS path: 100 I
                    Communities: target:1:999
                    VPN Label: 100064
                    Localpref: 100
                    Router ID: 10.4.4.4
                    Primary Routing Table bgp.l3vpn.0
    
    ...
    

    show route hidden extensive

    The output for the show route hidden extensive command is identical to that of the show route hidden detail command. For sample output, see show route hidden detail.

    show route hidden terse

    user@host> show route hidden terse
    inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden)
    Restart Complete
    + = 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        
    
    private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden)
    
    red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden)
    Restart Complete
    + = Active Route, - = Last Active, * = Both
    
    A Destination        P Prf   Metric 1   Metric 2  Next hop        AS path
      10.5.5.5/32        B 170        100             Unusable        100 I
      10.12.1.0/24       B 170        100             Unusable        100 I
      10.12.80.4/30      B 170        100             Unusable        I
    
    iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    Restart Complete
    
    mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
    Restart Complete
    
    bgp.l3vpn.0: 3 destinations, 3 routes (0 active, 0 holddown, 3 hidden)
    Restart Complete
    + = Active Route, - = Last Active, * = Both
    
    A Destination        P Prf   Metric 1   Metric 2  Next hop        AS path
      10.4.4.4:4:10.5.5.5/32               
                         B 170        100             Unusable        100 I
      10.4.4.4:4:10.12.1.0/24               
                         B 170        100             Unusable        100 I
      10.4.4.4:4:10.12.80.4/30               
                         B 170        100             Unusable        I
    
    inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    Restart Complete
    
    private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    

    Published: 2013-03-14