[Contents] [Prev] [Next] [Index] [Report an Error]


show route next-hop

Syntax

show route next-hop destination-prefix

Description

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

view

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:

prefix—Route address.

[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 a to line 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.254

inet.0: 12 destinations, 12 routes (11 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0          *[Static/5] 00:43:39
                    > to 111.222.5.254 via fxp0.0

[Contents] [Prev] [Next] [Index] [Report an Error]