show route terse
Syntax
show route terse <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route terse
Description
Display a high-level summary of the routes in the routing table.
For BGP routes, the show route terse
command
displays the local preference attribute and MED instead of the metric1
and metric2 values. This is mostly due to historical reasons.
To display the metric1 and metric2 value of a BGP route, use
the show route extensive
command.
Options
none | Display a high-level summary of the routes in the routing table. |
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
Table 1 describes the output fields for the show route terse
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
routing-table-name |
Name of the routing table (for example, inet.0). |
number destinations |
Number of destinations for which there are routes in the routing table. |
number routes |
Number of routes in the routing table and total number of routes in the following states:
|
route key |
Key for the state of the route:
|
|
Active route. An asterisk (*) indicates this is the active route. |
|
Validation status of the route:
|
Destination |
Destination of the route. |
P |
Protocol through which the route was learned:
|
Prf |
Preference value of the route.
In every routing metric except for the BGP |
Metric 1 |
First metric value in the route. For routes learned from BGP, this is the MED metric. |
Metric 2 |
Second metric value in the route. For routes learned from BGP, this is the IGP metric. |
Next hop |
Next hop to the destination. An angle bracket (>) indicates that the route is the selected route. |
AS path |
AS path through which the route was learned. The letters at the end of the AS path indicate the path origin, providing an indication of the state of the route at the point at which the AS path originated:
|
Sample Output
show route terse
user@host> show route terse inet.0: 10 destinations, 12 routes (10 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A V Destination P Prf Metric 1 Metric 2 Next hop AS path * ? 172.16.1.1/32 O 10 1 >10.0.0.2 ? B 170 100 I unverified >10.0.0.2 * ? 172.16.1.1/32 D 0 >lo0.2 * V 2.2.0.2/32 B 170 110 200 I valid >10.0.0.2 * ? 10.0.0.0/30 D 0 >lt-1/2/0.1 ? B 170 100 I unverified >10.0.0.2 * ? 10.0.0.1/32 L 0 Local * ? 10.0.0.4/30 B 170 100 I unverified >10.0.0.2 * ? 10.0.0.8/30 B 170 100 I unverified >10.0.0.2 * I 172.16.1.1/32 B 170 90 200 I invalid >10.0.0.2 * N 192.168.2.3/32 B 170 100 200 I unknown >10.0.0.2 * ? 172.16.233.5/32 O 10 1 MultiRecv
Release Information
Command introduced before Junos OS Release 7.4.