show ldp route
Syntax
show ldp route <brief | detail | extensive> <destination> <fec-and-route> <fec-only> <instance instance-name> <logical-system (all | logical-system-name)>
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. |
fec-and-route | Display the show routes and the FECs. |
fec-only | Display only LDP FECs. |
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. This option is only supported on Junos OS. |
Required Privilege Level
view
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.
Field Name |
Field Description |
---|---|
|
Destination prefix. |
|
Interface that is the next hop to the destination prefix. |
|
IP address of the next hop. |
|
LDP session ID. |
|
Information about the route. For example, the |
|
The route has been bound to LSPs with the label being distributed for that LSP. |
|
The topology that the route is bound to. |
|
Status of the ingress route. For example, it could be |
|
The length of time since the ingress route status last changed. |
|
The last event that occurred. |
Sample Output
- show ldp route detail
- show ldp route extensive
- show ldp route fec-and-route
- show ldp route fec-and-route
- show ldp route fec-only
- show ldp route fec-only detail
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 Destination Next-hop intf/lsp/table Next-hop address 10.10.20.1/32 fe-1/0/0.0 192.168.199.37 LSP LDP->10.255.107.230
show ldp route fec-and-route
user@host> show ldp route fec-and-route Destination Next-hop intf/lsp/table Next-hop address 10.4.0.0/16 fxp0.0 10.92.31.254 10.5.0.0/16 fxp0.0 10.92.31.254 10.6.128.0/17 fxp0.0 10.92.31.254 10.9.0.0/16 fxp0.0 10.92.31.254 10.10.0.0/16 fxp0.0 10.92.31.254 10.13.4.0/23 fxp0.0 10.92.31.254 10.13.10.0/23 fxp0.0 10.92.31.254 10.82.0.0/15 fxp0.0 10.92.31.254 10.84.0.0/16 fxp0.0 10.92.31.254 10.85.12.0/22 fxp0.0 10.92.31.254 10.92.0.0/16 fxp0.0 10.92.31.254 10.92.16.0/20 fxp0.0 10.92.20.175/32 10.94.0.0/16 fxp0.0 10.92.31.254 10.99.0.0/16 fxp0.0 10.92.31.254 10.102.0.0/16 fxp0.0 10.92.31.254 10.150.0.0/16 fxp0.0 10.92.31.254 10.155.0.0/16 fxp0.0 10.92.31.254 10.157.64.0/19 fxp0.0 10.92.31.254 10.160.0.0/16 fxp0.0 10.92.31.254 10.204.0.0/16 fxp0.0 10.92.31.254 10.205.0.0/16 fxp0.0 10.92.31.254 10.206.0.0/16 fxp0.0 10.92.31.254 10.207.0.0/16 fxp0.0 10.92.31.254 10.209.0.0/16 fxp0.0 10.92.31.254 10.212.0.0/16 fxp0.0 10.92.31.254 10.213.0.0/16 fxp0.0 10.92.31.254 10.214.0.0/16 fxp0.0 10.92.31.254 10.215.0.0/16 fxp0.0 10.92.31.254 10.216.0.0/16 fxp0.0 10.92.31.254 10.218.13.0/24 fxp0.0 10.92.31.254 10.218.14.0/24 fxp0.0 10.92.31.254 10.218.16.0/20 fxp0.0 10.92.31.254 10.218.32.0/20 fxp0.0 10.92.31.254 10.227.0.0/16 fxp0.0 10.92.31.254 10.255.111.0/24 ge-0/0/2.0 11.11.11.2 10.255.111.1/32 ge-0/0/2.0 11.11.11.2 10.255.111.2/32 ge-0/0/2.0 11.11.11.2 10.255.111.3/32 ge-0/0/2.0 11.11.11.2 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 10.255.112.1/32 lo0.0 10.255.112.1/32 lo0.0 10.255.112.2/32 ge-0/0/2.0 11.11.11.2 10.255.112.2/32 ge-0/0/2.0 11.11.11.2 11.11.11.0/24 ge-0/0/2.0 11.11.11.1/32 12.12.12.0/24 ge-0/0/2.0 11.11.11.2 15.15.15.0/24 ge-0/0/1.0 15.15.15.1/32 22.22.22.0/24 ge-0/0/0.0 22.22.22.1/32 23.23.23.0/24 ge-0/0/2.0 11.11.11.2 24.24.24.0/24 ge-0/0/2.0 11.11.11.2 25.25.25.0/24 ge-0/0/2.0 11.11.11.2 128.92.17.45/32 ge-0/0/2.0 11.11.11.2 128.92.20.175/32 lo0.0 128.92.21.186/32 ge-0/0/2.0 11.11.11.2 128.92.25.135/32 ge-0/0/2.0 11.11.11.2 128.92.27.91/32 ge-0/0/2.0 11.11.11.2 128.92.28.70/32 ge-0/0/2.0 11.11.11.2 172.16.0.0/12 fxp0.0 10.92.31.254 192.168.0.0/16 fxp0.0 10.92.31.254 192.168.102.0/23 fxp0.0 10.92.31.254 207.17.136.0/24 fxp0.0 10.92.31.254 207.17.136.192/32 fxp0.0 10.92.31.254 207.17.137.0/24 fxp0.0 10.92.31.254 224.0.0.5/32
show ldp route fec-and-route
user@host> show ldp route fec-and-route Destination Next-hop intf/lsp/table Next-hop address 10.4.0.0/16 fxp0.0 10.92.31.254 10.5.0.0/16 fxp0.0 10.92.31.254 10.6.128.0/17 fxp0.0 10.92.31.254 10.9.0.0/16 fxp0.0 10.92.31.254 10.10.0.0/16 fxp0.0 10.92.31.254 10.13.4.0/23 fxp0.0 10.92.31.254 10.13.10.0/23 fxp0.0 10.92.31.254 10.82.0.0/15 fxp0.0 10.92.31.254 10.84.0.0/16 fxp0.0 10.92.31.254 10.85.12.0/22 fxp0.0 10.92.31.254 10.92.0.0/16 fxp0.0 10.92.31.254 10.92.16.0/20 fxp0.0 10.92.20.175/32 10.94.0.0/16 fxp0.0 10.92.31.254 10.99.0.0/16 fxp0.0 10.92.31.254 10.102.0.0/16 fxp0.0 10.92.31.254 10.150.0.0/16 fxp0.0 10.92.31.254 10.155.0.0/16 fxp0.0 10.92.31.254 10.157.64.0/19 fxp0.0 10.92.31.254 10.160.0.0/16 fxp0.0 10.92.31.254 10.204.0.0/16 fxp0.0 10.92.31.254 10.205.0.0/16 fxp0.0 10.92.31.254 10.206.0.0/16 fxp0.0 10.92.31.254 10.207.0.0/16 fxp0.0 10.92.31.254 10.209.0.0/16 fxp0.0 10.92.31.254 10.212.0.0/16 fxp0.0 10.92.31.254 10.213.0.0/16 fxp0.0 10.92.31.254 10.214.0.0/16 fxp0.0 10.92.31.254 10.215.0.0/16 fxp0.0 10.92.31.254 10.216.0.0/16 fxp0.0 10.92.31.254 10.218.13.0/24 fxp0.0 10.92.31.254 10.218.14.0/24 fxp0.0 10.92.31.254 10.218.16.0/20 fxp0.0 10.92.31.254 10.218.32.0/20 fxp0.0 10.92.31.254 10.227.0.0/16 fxp0.0 10.92.31.254 10.255.111.0/24 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 10.255.111.1/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300192, Topology entry: 0xb5de1b0 Ingress route status: Active, Last modified: 09:57:49 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.2/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300208, Topology entry: 0xb5de1f8 Ingress route status: Active, Last modified: 09:57:49 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.3/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300224, Topology entry: 0xb5de240 Ingress route status: Active, Last modified: 09:57:49 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300112, Topology entry: 0xb5de708 Ingress route status: Active, Last modified: 10:10:56 ago Last event(s): Evaluate Update ingress route Update transit route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300112, Topology entry: 0xb5de708 Ingress route status: Active, Last modified: 10:10:56 ago Last event(s): Evaluate Update ingress route Update transit route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.1/32 lo0.0 Bound to outgoing label 3, Topology entry: 0xb5de120 Ingress route status: Inactive Last event(s): Evaluate Update history Route type: Egress route Route flags: Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.1/32 lo0.0 Bound to outgoing label 3, Topology entry: 0xb5de120 Ingress route status: Inactive Last event(s): Evaluate Update history Route type: Egress route Route flags: Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.2/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300064, Topology entry: 0xb5de630 Ingress route status: Active, Last modified: 10:11:04 ago Last event(s): Update ingress route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.2/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300064, Topology entry: 0xb5de630 Ingress route status: Active, Last modified: 10:11:04 ago Last event(s): Update ingress route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 11.11.11.0/24 ge-0/0/2.0 11.11.11.1/32 12.12.12.0/24 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 15.15.15.0/24 ge-0/0/1.0 15.15.15.1/32 22.22.22.0/24 ge-0/0/0.0 22.22.22.1/32 23.23.23.0/24 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 24.24.24.0/24 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 25.25.25.0/24 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 128.92.17.45/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 128.92.20.175/32 lo0.0 128.92.21.186/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 128.92.25.135/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 128.92.27.91/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 128.92.28.70/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 172.16.0.0/12 fxp0.0 10.92.31.254 192.168.0.0/16 fxp0.0 10.92.31.254 192.168.102.0/23 fxp0.0 10.92.31.254 207.17.136.0/24 fxp0.0 10.92.31.254 207.17.136.192/32 fxp0.0 10.92.31.254 207.17.137.0/24 fxp0.0 10.92.31.254 224.0.0.5/32
show ldp route fec-only
user@host> show ldp route fec-only user@host_re0> show ldp route fec-only Destination Next-hop intf/lsp/table Next-hop address 10.255.111.1/32 ge-0/0/2.0 11.11.11.2 10.255.111.2/32 ge-0/0/2.0 11.11.11.2 10.255.111.3/32 ge-0/0/2.0 11.11.11.2 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 10.255.112.1/32 lo0.0 10.255.112.2/32 ge-0/0/2.0 11.11.11.2
show ldp route fec-only detail
user@host> show ldp route fec-only detail Destination Next-hop intf/lsp/table Next-hop address 10.255.111.1/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300192, Topology entry: 0xb5de1b0 Ingress route status: Active, Last modified: 09:55:10 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.2/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300208, Topology entry: 0xb5de1f8 Ingress route status: Active, Last modified: 09:55:10 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.3/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300224, Topology entry: 0xb5de240 Ingress route status: Active, Last modified: 09:55:10 ago Last event(s): Rebind Route flags: Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.111.4/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300112, Topology entry: 0xb5de708 Ingress route status: Active, Last modified: 10:08:17 ago Last event(s): Evaluate Update ingress route Update transit route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.1/32 lo0.0 Bound to outgoing label 3, Topology entry: 0xb5de120 Ingress route status: Inactive Last event(s): Evaluate Update history Route type: Egress route Route flags: Allow longest match Destination Next-hop intf/lsp/table Next-hop address 10.255.112.2/32 ge-0/0/2.0 11.11.11.2 Session ID 10.255.112.1:0--10.255.112.2:0 Bound to outgoing label 300064, Topology entry: 0xb5de630 Ingress route status: Active, Last modified: 10:08:25 ago Last event(s): Update ingress route Route flags: Ingress TTL propagate, Transit TTL propagate, Allow longest match
Release Information
Command introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 20.3R1.