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
Display the entries in the routing table that are being sent to the specified next-hop address.
Options
| brief | detail | extensive | terse | (Optional) Display the specified level of ouput. |
| logical-system (all | logical-system-name) | (Optional) Perform this operation on all logical systems or on a particular logical system. |
| next-hop | Next-hop address. |
Required Privilege Level
view
Output Fields
For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.
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
Command introduced before Junos OS Release 7.4.