show ldp route
構文
show ldp route <brief | detail | extensive> <destination> <fec-and-route> <fec-only> <instance instance-name> <logical-system (all | logical-system-name)>
説明
ラベル配布プロトコル(LDP)内部トポロジーテーブルのエントリーを表示します。内部トポロジーテーブルには、inet.0 と inet.3 からのルートが含まれており、ラベルを転送等価クラス(FEC)にバインドするときに使用されます。
オプション
none | すべてのルーティングインスタンスのLDP内部トポロジーテーブル内のすべてのエントリーに関する規格情報を表示します。 |
brief | detail | extensive | (オプション)指定された出力レベルを表示します。 |
destination | (オプション)指定された宛先プレフィックスおよびプレフィックス長よりも長いエントリに出力を制限します。 |
fec-and-route | ショールートとFECを表示します。 |
fec-only | LDP FEC のみを表示します。 |
instance instance-name | (オプション)指定されたルーティングインスタンスのエントリーのみを表示します。 |
logical-system (all | logical-system-name) | (オプション)この操作は、すべての論理システムまたは特定の論理システムで実行します。このオプションは、Junos OS でのみサポートされています。 |
必要な権限レベル
ビュー
出力フィールド
表 1 に、このコマンド show ldp route
の出力フィールドを示します。出力フィールドは、表示されるおおよその順序に従って示しています。
フィールド名 |
フィールドの説明 |
---|---|
|
宛先プレフィックス。 |
|
宛先プレフィックスへのネクストホップであるインターフェイス。 |
|
ネクストホップのIPアドレス。 |
|
LDP セッション ID。 |
|
ルートに関する情報。例えば、このフラグは |
|
ルートは LSP にバインドされており、ラベルはその LSP に配布されています。 |
|
ルートがバインドされているトポロジ。 |
|
イングレスルートのステータス。たとえば、 |
|
イングレス ルート ステータスが最後に変更されてからの時間の長さ。 |
|
最後に発生したイベント。 |
サンプル出力
- LDPルート詳細を表示
- LDPルート拡張を表示
- show ldp route fec-and-route
- show ldp route fec-and-route
- show ldp route fec-only(LDPルートFECのみを表示)
- LDPルートFECのみの詳細を表示
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 .....
LDPルート拡張を表示
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(LDPルートFECのみを表示)
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
LDPルートFECのみの詳細を表示
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
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。
Junos OSリリース20.3R1で導入されたステートメント。