show route best
構文
show route best destination-prefix <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
構文(EXシリーズスイッチ)
show route best destination-prefix <brief | detail | extensive | terse>
説明
指定したアドレスまたはアドレス範囲への最適なルートであるルーティングテーブル内のルートを表示します。最適なルートは、最も長く一致するルートです。
オプション
brief | detail | extensive | terse | (オプション)指定された出力レベルを表示します。出力レベルを指定しない場合、システムはデフォルトで |
destination-prefix | アドレスまたはアドレスの範囲。 |
logical-system (all | logical-system-name) | (オプション)この操作は、すべての論理システムまたは特定の論理システムで実行します。 |
必要な権限レベル
ビュー
出力フィールド
出力フィールドについては、 コマンド、 コマンド、 コマンド、show route detail
show route terse
または show route extensive
コマンドの出力フィールドテーブルshow route
を参照してください。
サンプル出力
最高のルートを表示
user@host> show route best 10.255.70.103 inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103/32 *[OSPF/10] 1d 13:19:20, metric 2 > to 10.31.1.6 via ge-3/1/0.0 via so-0/3/0.0 inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103/32 *[RSVP/7] 1d 13:20:13, metric 2 > via so-0/3/0.0, label-switched-path green-r1-r3 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.0.0.0/8 *[Direct/0] 2d 01:43:34 > via fxp2.0 [Direct/0] 2d 01:43:34 > via fxp1.0
ルートベストディテールを表示
user@host> show route best 10.255.70.103 detail inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete 10.255.70.103/32 (1 entry, 1 announced) *OSPF Preference: 10 Next-hop reference count: 9 Next hop: 10.31.1.6 via ge-3/1/0.0, selected Next hop: via so-0/3/0.0 State: <Active Int> Local AS: 69 Age: 1d 13:20:06 Metric: 2 Area: 0.0.0.0 Task: OSPF Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103/32 (1 entry, 1 announced) State: <FlashAll> *RSVP Preference: 7 Next-hop reference count: 5 Next hop: via so-0/3/0.0 weight 0x1, selected Label-switched-path green-r1-r3 Label operation: Push 100016 State: <Active Int> Local AS: 69 Age: 1d 13:20:59 Metric: 2 Task: RSVP Announcement bits (1): 1-Resolve tree 2 AS path: I private1__inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) 10.0.0.0/8 (2 entries, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via fxp2.0, selected State: <Active Int> Age: 2d 1:44:20 Task: IF AS path: I Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via fxp1.0, selected State: <NotBest Int> Inactive reason: No difference Age: 2d 1:44:20 Task: IF AS path: I
ショールートベストエクステンブ
コマンドの出力は、 コマンドの出力show route best extensive
show route best detail
と同じです。サンプル出力については、「show route best detail」を参照してください。
ショールートベストタース
user@host> show route best 10.255.70.103 terse inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.255.70.103/32 O 10 2 >10.31.1.6 so-0/3/0.0 inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.255.70.103/32 R 7 2 >so-0/3/0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.0.0.0/8 D 0 >fxp2.0 D 0 >fxp1.0
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。