show ldp route
Sintaxis
show ldp route <brief | detail | extensive> <destination> <fec-and-route> <fec-only> <instance instance-name> <logical-system (all | logical-system-name)>
Descripción
Muestra las entradas de la tabla de topología interna del Protocolo de distribución de etiquetas (LDP). La tabla de topología interna contiene rutas de inet.0 e inet.3 y se utiliza cuando se vincula una etiqueta a una clase de equivalente de reenvío (FEC).
Opciones
| none | Muestra información estándar de todas las entradas de la tabla de topología interna de LDP para todas las instancias de enrutamiento. |
| brief | detail | extensive | (Opcional) Muestra el nivel de salida especificado. |
| destination | (Opcional) Restrinja la salida a entradas que sean más largas que el prefijo de destino y la longitud del prefijo de destino especificados. |
| fec-and-route | Muestra las rutas de muestra y las FET. |
| fec-only | Mostrar solo FET de LDP. |
| instance instance-name | (Opcional) Mostrar entradas solo para la instancia de enrutamiento especificada. |
| logical-system (all | logical-system-name) | (Opcional) Realice esta operación en todos los sistemas lógicos o en un sistema lógico en particular. Esta opción solo se admite en Junos OS. |
Nivel de privilegio requerido
Vista
Campos de salida
Tabla 1 describe los campos de salida del show ldp route comando. Los campos de salida se enumeran en el orden aproximado en el que aparecen.
Nombre de campo |
Descripción de campo |
|---|---|
|
Prefijo de destino. |
|
Interfaz que es el siguiente salto al prefijo de destino. |
|
Dirección IP del siguiente salto. |
|
ID de sesión de LDP. |
|
Información sobre la ruta. Por ejemplo, la |
|
La ruta se ha vinculado a LSP con la etiqueta distribuida para ese LSP. |
|
La topología a la que está vinculada la ruta. |
|
Estado de la ruta de entrada. Por ejemplo, podría ser |
|
La cantidad de tiempo transcurrido desde la última vez que el estado de la ruta de entrada cambió. |
|
El último evento que se produjo. |
Salida de muestra
- muestra los detalles de la ruta ldp
- muestra la ruta ldp extensa
- mostrar ruta ldp fec-and-route
- mostrar ruta ldp fec-and-route
- muestra solo ruta ldp
- muestra los detalles de solo ruta ldp
muestra los detalles de la ruta ldp
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
.....muestra la ruta ldp extensa
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.230mostrar ruta ldp 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
mostrar ruta ldp 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
muestra solo ruta ldp
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
muestra los detalles de solo ruta ldp
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
Información de versión
Comando introducido antes de la versión 7.4 de Junos OS.
Declaración introducida en la versión 20.3R1 de Junos OS.
