show route best
Syntax
show route bestdestination-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
List of Sample Output
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.
time—How long the route has been known.show route best
user@host>show route best 111.222/24inet.0: 12 destinations, 12 routes (11 active, 0 holddown, 1 hidden)+ = Active Route, - = Last Active, * = Both0.0.0.0/0 *[Static/5] 00:09:41> to 111.222.5.254 via so-2/0/1