show route best
Syntax
show route best destination-prefix
<brief | detail | extensive | terse>
<logical-system (all | logical-system-name)>
Syntax (EX Series
Switch)
show route best destination-prefix
<brief | detail | extensive | terse>
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for 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
destination-prefix
—Address or range of addresses.
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.
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 on page 2177
show route best detail on page 2179
show route best extensive on page 2179
show route best terse on page 2180
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.
show route best
user@host>
show route best 10.255.70.103
inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden)
Restart Complete
show route best
+ = Active Route, - = Last Active, * = Both
10.255.70.103/32 *[OSPF/10] 1d 13:19:20, metric 2
> to 10.31.1.6 via ge-3/1/0.0
via so-0/3/0.0
inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
Restart Complete
+ = Active Route, - = Last Active, * = Both
10.255.70.103/32 *[RSVP/7] 1d 13:20:13, metric 2
> via so-0/3/0.0, label-switched-path green-r1-r3
private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/8 *[Direct/0] 2d 01:43:34
> via fxp2.0
2177
Copyright © 2010, Juniper Networks, Inc.
Chapter 74: Operational Commands for Layer 3 Protocols
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...