Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route best

Syntax

Syntax (EX Series Switches)

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

brief | detail | extensive | terse

(Optional) Display the specified level of output. If you do not specify a level of output, the system defaults to brief.

destination-prefix

Address or range of addresses.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

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 best

show route best detail

show route best extensive

The output for the show route best extensive command is identical to that for the show route best detail command. For sample output, see show route best detail.

show route best terse

Release Information

Command introduced before Junos OS Release 7.4.