show route next-hop
Syntax
show route next-hop next-hop <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route next-hop next-hop <brief | detail | extensive | terse>
Description
显示路由表中发送至指定下一跳跃地址的条目。
Options
简要|详细|广泛的|简洁 | (可选)显示指定的输出级别。 |
逻辑系统(所有| 逻辑系统名称) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
下一跃点 | 下一跳地址。 |
Required Privilege Level
视图
Output Fields
有关输出字段的信息,请参阅 命令、命令、show route detail
命令show route extensive
或命令的show route terse
输出字段表show route
。
Sample Output
show route next-hop
user@host> show route next-hop 192.168.71.254 inet.0: 18 destinations, 18 routes (17 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.10.0.0/16 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 10.209.0.0/16 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 172.16.0.0/12 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 192.168.0.0/16 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 192.168.102.0/23 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 207.17.136.0/24 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 207.17.136.192/32 *[Static/5] 06:26:25 > to 192.168.71.254 via fxp0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 4 destinations, 5 routes (4 active, 0 holddown, 0 hidden) Restart Complete iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
show route next-hop terse
user@host> show route next-hop 192.168.71.254 terse inet.0: 25 destinations, 26 routes (24 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.10.0.0/16 S 5 >192.168.71.254 * 10.209.0.0/16 S 5 >192.168.71.254 * 172.16.0.0/12 S 5 >192.168.71.254 * 192.168.0.0/16 S 5 >192.168.71.254 * 192.168.102.0/23 S 5 >192.168.71.254 * 207.17.136.0/24 S 5 >192.168.71.254 * 207.17.136.192/32 S 5 >192.168.71.254 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 4 destinations, 5 routes (4 active, 0 holddown, 0 hidden) Restart Complete iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
Release Information
在 Junos OS 7.4 版之前引入的命令。