Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show route label

List of Syntax

Syntax
Syntax (EX Series Switches)

Syntax

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

Syntax (EX Series Switches)

show route label label<brief | detail | extensive | terse>

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.5 for EX Series switches.

Description

Display the routes based on a specified Multiprotocol Label Switching (MPLS) label value.

Options

label

Value of the MPLS label.

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 label
show route label detail
show route label detail (Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
show route label extensive
show route label 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 label

user@host> show route label 100016
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
Restart Complete
+ = Active Route, - = Last Active, * = Both
100016             *[VPN/170] 03:25:41
                    > to 10.12.80.1 via ge-6/3/2.0, Pop 

show route label detail

user@host> show route label 100016 detail
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
Restart Complete
100016 (1 entry, 1 announced)
        *VPN    Preference: 170
                Next-hop reference count: 2
                Source: 10.12.80.1
                Next hop: 10.12.80.1 via ge-6/3/2.0, selected
                Label operation: Pop      
                State: <Active Int Ext>
                Local AS:     1 
                Age: 3:23:31 
                Task: BGP.0.0.0.0+179
                Announcement bits (1): 0-KRT 
                AS path: 100 I
                Ref Cnt: 2

show route label detail (Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)

user@host> show route label 299872 detail
mpls.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
299872 (1 entry, 1 announced)
        *LDP    Preference: 9
                Next hop type: Flood
                Next-hop reference count: 3
                Address: 0x9097d90
                Next hop: via vt-0/1/0.1
                Next-hop index: 661
                Label operation: Pop      
                Address: 0x9172130
                Next hop: via so-0/0/3.0
                Next-hop index: 654
                Label operation: Swap 299872
                State: **Active Int>
                Local AS:  1001 
                Age: 8:20       Metric: 1 
                Task: LDP
                Announcement bits (1): 0-KRT 
                AS path: I
                FECs bound to route: P2MP root-addr 10.255.72.166, grp 232.1.1.1, src 192.168.142.2

show route label extensive

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

show route label terse

user@host> show route label 100016 terse
mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
Restart Complete
+ = Active Route, - = Last Active, * = Both

A Destination        P Prf   Metric 1   Metric 2  Next hop        AS path
* 100016             V 170                       >10.12.80.1

Published: 2014-07-23

Published: 2014-07-23