show aggregate route
Syntax
show aggregate route <destination ipprefix-optional> <brief <detail> <extensive> <logical-system> <table table>
Description
Display the aggregate route information.
Options
| destination |
IP address and optional prefix length of destination |
| brief |
Display brief output |
| detail |
Show the details of entries |
| extensive |
Display extensive output |
| logical-system |
Name of logical system, or 'all' |
| table |
Name of the routing table |
Required Privilege Level
view
Output Fields
The following table describes the output
fields for the show route 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:
|
|
destination-prefix |
Route destination (for example:10.0.0.1/24). Sometimes the route information is presented in another format, such as:
|
|
[ protocol, preference ] |
Protocol from which the route was learned and the preference value for the route.
In every routing metric except for the BGP LocalPref attribute, a lesser value is preferred. In order to use common comparison routines, Junos OS stores the 1's complement of the LocalPref value in the Preference2 field. For example, if the LocalPref value for Route 1 is 100, the Preference2 value is -101. If the LocalPref value for Route 2 is 155, the Preference2 value is -156. Route 2 is preferred because it has a higher LocalPref value and a lower Preference2 value. |
|
weeks:days hours:minutes:seconds |
How long the route been known (for example, 2w4d 13:11:14, or 2 weeks, 4 days, 13 hours, 11 minutes, and 14 seconds). |
|
metric |
Cost value of the indicated route. For routes within an AS, the cost is determined by the IGP and the individual protocol metrics. For external routes, destinations, or routing domains, the cost is determined by a preference value. |
|
localpref |
Local preference value included in the route. |
|
from |
Interface from which the route was received. |
|
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 aggregate route brief
user@host> show aggregate route
inet.0: 818467 destinations, 818467 routes (818466 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Aggregate/130] 00:03:28
Discard
223.0.0.0/8 *[Aggregate/130] 00:00:02
Discard
r1.inet.0: 9 destinations, 11 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/8 *[Aggregate/130] 00:03:36
Discard
10.1.0.0/16 *[Aggregate/130] 00:03:36
Discard
r2.inet.0: 818400 destinations, 818403 routes (818400 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
223.0.0.0/8 *[Aggregate/130] 00:00:02
Reject
show aggregate route routeextensive
user@host> show aggregate route 0.0.0.0 extensive
inet.0: 944179 destinations, 944179 routes (944178 active, 0 holddown, 1 hidden)
0.0.0.0/0 (1 entry, 1 announced)
TSI:
KRT in-kernel 0.0.0.0/0 -> {}
*Aggregate Preference: 130
Next hop type: Discard, Next hop index: 0
Address: 0x2d3ce8380adc
Next-hop reference count: 16
Kernel Table Id: 0
State: <Active Int Ext>
Age: 19:21
Validation State: unverified
Task: Aggregate
Announcement bits (3): 0-KRT 3-rt-export 5-Resolve tree 1
AS path: ? (LocalAgg Atomic)
Thread: junos-main
Flags: Brief Discard Depth: 1 Active
AS path list (144987):
AS path: 10458 14203 2914 3491 12389 12730 I Refcount: 4
AS path: 10458 14203 2914 3491 4515 I
Aggregator: 65001 10.249.70.94 Refcount: 1
AS path: 10458 14203 2914 36236 43181 I (Atomic)
Aggregator: 43181 176.58.90.202 Refcount: 3
AS path: 10458 14203 2914 9136 207592 I Refcount: 5
AS path: 10458 14203 2914 3257 21559 271945 269931 271898 271898 271898 271898 271898 271898 271898 I Refcount: 1
AS path: 10458 14203 2914 6830 6730 34514 I
Aggregator: 34514 194.116.196.1 Refcount: 1
AS path: 10458 14203 2914 3356 3549 263276 271260 I Refcount: 1
AS path: 10458 14203 2914 29119 203936 209984 204854 I Refcount: 4
AS path: 10458 14203 2914 3491 8641 49106 I Refcount: 2
...Release Information
Statement introduced in Junos OS Release 25.1R1 and Junos Evolved Release 25.1R1.