Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show route best

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax

Syntax (EX Series Switches)

Release Information

Command introduced before Junos OS Release 7.4.

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-prefixAddress 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

List of Sample Output

show route best

show route best detail

show route best extensive

show route best terse

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

user@host> show route best 10.255.70.103

show route best detail

user@host> show route best 10.255.70.103 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

user@host> show route best 10.255.70.103 terse