show route next-hop
Syntax
show route next-hopdestination-prefixDescription
Display the entries in the routing table that are being sent to the specified next-hop address.
Options
destination-prefix—IP address or name of a next hop.Required Privilege Level
Output Fields
routing-table-name—Name of the routing table; for example,inet.0.
destinations—Number of destinations for which there are routes in the routing table.
routes—Number of routes in the routing table:
active—Number of routes that are active.holddown—Number of routes that are in the hold-down state prior to being declared inactive.hidden—Number of routes not used because of routing policy.
[protocol/preference]—Protocol from which the route was learned and the route's preference value.
+—A plus sign before[protocol/preference]indicates the active route, which is the route installed from the routing table into the forwarding table.
-—A hyphen before[protocol/preference]indicates the last active route.
*—An asterisk before[protocol/preference]indicates that the route is both the active and the last active route. An asterisk before atoline indicates the best subpath to the route.
time—How long the route has been known.
to—Next hop to the destination.
via—Interface to reach the next hop.Sample Output
user@host>show route next-hop 111.222.5.254inet.0: 12 destinations, 12 routes (11 active, 0 holddown, 1 hidden)+ = Active Route, - = Last Active, * = Both0.0.0.0/0 *[Static/5] 00:43:39> to 111.222.5.254 via fxp0.0