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

    show ldp route

    Syntax

    show ldp route<brief | detail | extensive> <destination><instance instance-name><logical-system (all | logical-system-name)>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Description

    Display the entries in the Label Distribution Protocol (LDP) internal topology table. The internal topology table contains routes from inet.0 and inet.3 and is used when binding a label to a forwarding equivalence class (FEC).

    Options

    none
    —

    Display standard information about all entries in the LDP internal topology table for all routing instances.

    brief | detail | extensive
    —

    (Optional) Display the specified level of output.

    destination
    —

    (Optional) Restrict the output to entries that are longer than the specified destination prefix and prefix length.

    instance instance-name
    —

    (Optional) Display entries for the specified routing instance only.

    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 ldp route detail
    show ldp route extensive

    Output Fields

    Table 1 describes the output fields for the show ldp route command. Output fields are listed in the approximate order in which they appear.

    Table 1: show ldp route Output Fields

    Field Name

    Field Description

    Destination

    Destination prefix.

    Next-hop intf/lsp/table

    Interface that is the next hop to the destination prefix.

    Next-hop address

    IP address of the next hop.

    Session ID

    LDP session ID.

    Route flags

    Information about the route. For example, the Ingress TTL propagate flag indicates that the time-to-live (TTL) value is being propagated with the route.

    Bound to outgoing label

    The route has been bound to LSPs with the label being distributed for that LSP.

    Topology entry

    The topology that the route is bound to.

    Ingress route status

    Status of the ingress route. For example, it could be Active or Inactive.

    Last modified

    The length of time since the ingress route status last changed.

    Sample Output

    show ldp route detail

    user@host> show ldp route 10.255.8.5 detail
    Destination         Next-hop intf/lsp                Next-hop address
     10.255.8.5/32      f1
       Session ID 10.255.170.84:0--10.255.170.92:0
                        fe-0/0/0.0                       192.168.100.2
       Session ID 10.255.170.84:0--10.255.8.5:0
                        so-0/2/1.0
       Session ID 10.255.170.84:0--10.255.8.5:0
                        so-0/2/2.0
       Session ID 10.255.170.84:0--10.255.8.3:0
       Bound to outgoing label 299776, Topology entry: 0x8c38a80
       BFD dest addr   BFD state LSP-ping Next-hop addr   Next-hop intf/lsp
       127.0.0.64      up        up       192.168.100.2   fe-0/0/0.0
       127.0.1.64      up        up                       so-0/2/1.0
       127.0.2.64      up        up                       so-0/2/2.0
       127.0.3.64      up        up                       f1
    .....

    show ldp route extensive

    user@host> show ldp route extensive
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.0/30        ge-1/2/0.18                       10.0.0.17
       Session ID 192.168.0.6:0--192.168.0.5:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.4/30        ge-1/2/0.18                       10.0.0.17
       Session ID 192.168.0.6:0--192.168.0.5:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.8/30        ge-1/2/1.21                       10.0.0.22
       Session ID 192.168.0.6:0--192.168.0.4:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.12/30       ge-1/2/1.21                       10.0.0.22
       Session ID 192.168.0.6:0--192.168.0.4:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.16/30       ge-1/2/0.18
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.18/32      
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.20/30       ge-1/2/1.21
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     10.0.0.21/32      
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.1/32     ge-1/2/0.18                       10.0.0.17
       Session ID 192.168.0.6:0--192.168.0.5:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.2/32     ge-1/2/1.21                       10.0.0.22
       Session ID 192.168.0.6:0--192.168.0.4:0
                        ge-1/2/0.18                       10.0.0.17
       Session ID 192.168.0.6:0--192.168.0.5:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.3/32     ge-1/2/1.21                       10.0.0.22
       Session ID 192.168.0.6:0--192.168.0.4:0
       Route flags: None
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.4/32     ge-1/2/1.21                       10.0.0.22
       Session ID 192.168.0.6:0--192.168.0.4:0
       Bound to outgoing label 299808, Topology entry: 0x92a483c
       Ingress route status: Active, Last modified: 00:01:19 ago
       Route flags: Ingress TTL propagate, Transit TTL propagate
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.5/32     ge-1/2/0.18                       10.0.0.17
       Session ID 192.168.0.6:0--192.168.0.5:0
       Bound to outgoing label 299792, Topology entry: 0x92a47f8
       Ingress route status: Active, Last modified: 00:01:19 ago
       Route flags: Ingress TTL propagate, Transit TTL propagate
    Destination         Next-hop intf/lsp/table           Next-hop address
     192.168.0.6/32     lo0.6
       Bound to outgoing label 3, Topology entry: 0x92a4a5c
       Ingress route status: Inactive
       Route type: Egress route
       Route flags: None

    Published: 2013-03-14