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


show route best

Syntax

show route best destination-prefix
<brief | detail | extensive | terse>
<logical-router (all | logical-router-name)>

Description

Display the route in the routing table that is the best route to the specified address or range of addresses. The best route is the longest matching route.

Options

destination-prefix—Address or range of addresses.

brief | detail | extensive | terse—(Optional) Display the specified level of output.

logical-router (all | logical-router-name)—(Optional) Perform this operation on all logical routers or on a particular logical router.

Required Privilege Level

view

List of Sample Output

show route best

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.

time—How long the route has been known.

show route best

user@host> show route best 111.222/24

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:09:41
                    > to 111.222.5.254 via so-2/0/1

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