show route active-path
構文
show route active-path <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
構文(EXシリーズスイッチ)
show route active-path <brief | detail | extensive | terse>
説明
宛先のすべてのアクティブなルートを表示します。アクティブなルートは、最適なパスとして選択されるルートです。非アクティブなルートは表示されません。
オプション
none | すべてのアクティブなルートを表示します。 |
brief | detail | extensive | terse | (オプション)指定された出力レベルを表示します。出力レベルを指定しない場合、システムのデフォルト |
logical-system (all | logical-system-name) | (オプション)すべての論理システムまたは特定の論理システムで、この操作を実行します。 |
必要な権限レベル
ビュー
出力フィールド
出力フィールドの詳細については、 コマンド、または コマンドのshow route detail
show route extensive
出力フィールドテーブルshow route
をshow route terse
参照してください。
サンプル出力
- show route active-path
- show route active-path brief
- ルートアクティブパスの詳細を表示
- ルートアクティブパス拡張を表示
- show route active-path terse
show route active-path
user@host> show route active-path inet.0: 7 destinations, 7 routes (6 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both 10.255.70.19/32 *[Direct/0] 21:33:52 > via lo0.0 10.255.71.50/32 *[IS-IS/15] 00:18:13, metric 10 > to 172.16.100.1 via so-2/1/3.0 172.16.100.1/24 *[Direct/0] 00:18:36 > via so-2/1/3.0 172.16.100.1/32 *[Local/0] 00:18:41 Local via so-2/1/3.0 192.168.64.0/21 *[Direct/0] 21:33:52 > via fxp0.0 192.168.70.19/32 *[Local/0] 21:33:52 Local via fxp0.0
show route active-path brief
コマンドの出力は、 show route active-path brief
コマンドの出力と同じです show route active-path
。サンプル出力については、 を参照してください show route active-path
。
ルートアクティブパスの詳細を表示
user@host> show route active-path detail inet.0: 7 destinations, 7 routes (6 active, 0 holddown, 1 hidden) 10.255.70.19/32 (1 entry, 1 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via lo0.0, selected State: ‹Active Int› Local AS: 200 Age: 21:37:10 Task: IF Announcement bits (3): 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 10.255.71.50/32 (1 entry, 1 announced) *IS-IS Preference: 15 Level: 1 Next hop type: Router, Next hop index: 397 Next-hop reference count: 4 Next hop: 172.16.100.1 via so-2/1/3.0, selected State: ‹Active Int› Local AS: 200 Age: 21:31 Metric: 10 Task: IS-IS Announcement bits (4): 0-KRT 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 172.16.100.0/24 (1 entry, 1 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via so-2/1/3.0, selected State: ‹Active Int› Local AS: 200 Age: 21:54 Task: IF Announcement bits (3): 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 172.16.100.1/32 (1 entry, 1 announced) *Local Preference: 0 Next hop type: Local Next-hop reference count: 11 Interface: so-2/1/3.0 State: ‹Active NoReadvrt Int› Local AS: 200 Age: 21:59 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I 192.168.64.0/21 (1 entry, 1 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via fxp0.0, selected State: ‹Active Int› Local AS: 200 Age: 21:37:10 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I 192.168.70.19/32 (1 entry, 1 announced) *Local Preference: 0 Next hop type: Local Next-hop reference count: 11 Interface: fxp0.0 State: ‹Active NoReadvrt Int› Local AS: 200 Age: 21:37:10 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I
ルートアクティブパス拡張を表示
user@host> show route active-path extensive inet.0: 7 destinations, 7 routes (6 active, 0 holddown, 1 hidden) 10.255.70.19/32 (1 entry, 1 announced) TSI: IS-IS level 1, LSP fragment 0 IS-IS level 2, LSP fragment 0 *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via lo0.0, selected State: ‹Active Int› Local AS: 200 Age: 21:39:47 Task: IF Announcement bits (3): 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 10.255.71.50/32 (1 entry, 1 announced) TSI: KRT in-kernel 10.255.71.50/32 -> {172.16.100.1} IS-IS level 2, LSP fragment 0 *IS-IS Preference: 15 Level: 1 Next hop type: Router, Next hop index: 397 Next-hop reference count: 4 Next hop: 172.16.100.1 via so-2/1/3.0, selected State: ‹Active Int› Local AS: 200 Age: 24:08 Metric: 10 Task: IS-IS Announcement bits (4): 0-KRT 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 172.16.100.1/24 (1 entry, 1 announced) TSI: IS-IS level 1, LSP fragment 0 IS-IS level 2, LSP fragment 0 *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via so-2/1/3.0, selected State: ‹Active Int› Local AS: 200 Age: 24:31 Task: IF Announcement bits (3): 2-IS-IS 5-Resolve tree 2 6-Resolve tree 3 AS path: I 172.16.100.1/32 (1 entry, 1 announced) *Local Preference: 0 Next hop type: Local Next-hop reference count: 11 Interface: so-2/1/3.0 State: ‹Active NoReadvrt Int› Local AS: 200 Age: 24:36 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I 192.168.64.0/21 (1 entry, 1 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 3 Next hop: via fxp0.0, selected State: ‹Active Int› Local AS: 200 Age: 21:39:47 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I 192.168.70.19/32 (1 entry, 1 announced) *Local Preference: 0 Next hop type: Local Next-hop reference count: 11 Interface: fxp0.0 State: ‹Active NoReadvrt Int› Local AS: 200 Age: 21:39:47 Task: IF Announcement bits (2): 5-Resolve tree 2 6-Resolve tree 3 AS path: I
show route active-path terse
user@host> show route active-path terse inet.0: 7 destinations, 7 routes (6 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.255.70.19/32 D 0 >lo0.0 * 10.255.71.50/32 I 15 10 >172.16.100.1. * 172.16.100.0/24 D 0 >so-2/1/3.0 * 172.16.100.2/32 L 0 Local * 192.168.64.0/21 D 0 >fxp0.0 * 192.168.70.19/32 L 0 Local
リリース情報
Junos OS リリース 8.0 で導入されたコマンド。