aggregate (Routing)
Syntax
aggregate {
defaults {
... aggregate-options ...
}
route destination-prefix {
policy policy-name;
... aggregate-options ...
algorithm number
description description;
}
}
}
}
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options], [edit logical-systems logical-system-name routing-instances routing-instance-name routing-options rib routing-table-name], [edit logical-systems logical-system-name routing-options], [edit logical-systems logical-system-name routing-options rib routing-table-name], [edit routing-instances routing-instance-name routing-options], [edit routing-instances routing-instance-name routing-options rib routing-table-name], [edit routing-options], [edit routing-options rib routing-table-name]
Description
Configure aggregate routes.
Options
aggregate-options—Additional information about aggregate routes that is included with the route when it is installed in the routing table. Specify zero or more of the following options in aggregate-options. Each option is explained separately.
-
active— Removes inactive routes from the forwarding table.
-
passive— Retains inactive routes in the forwarding table.
-
as-path <as-path> <origin (egp | igp | incomplete)> <atomic-aggregate> <aggregator as-number ip-address>;
-
(brief | full);
-
community [ community-ids ];
-
discard;
-
(metric | metric2 | metric3 | metric4) value <type type>;
-
(preference | preference2 | color | color2) preference <type type>;
-
tag metric type number;
algorithm number—Specify an IGP algorithm for the aggregate route. IS-IS can advertise aggregate routes as SRv6 locators for locator summarization, In addition to the IPv6 aggregate prefix advertisement, IS-IS advertises the summary locator only if the node participates in the specified flexible algorithm.
- Range—Specify an algorithm from 0 through 255.
Note: Algorithm 0 and 1 are assigned to SPF and strict SPF respectively based on the link metric, Algorithm numbers from 2 to 127 are unassigned per IGP Algorithm Types registry defined by the IANA (Internet Assigned Numbers Authority). IS-IS does not consider algorithm values from 2 to 127 even if you configure these values; such prefixes are skipped. Algorithm numbers from 128 to 255 are assigned to flexible algorithms.
defaults—Specify global aggregate route options. These options
only set default attributes inherited by all newly created aggregate routes. These
are treated as global defaults and apply to all the aggregate routes you configure
in the aggregate
statement. This part of the
aggregate
statement is optional.
route destination-prefix—Configure a nondefault aggregate route:
-
default—For the default route to the destination. This is equivalent to specifying an IP address of 0.0.0.0/0.
-
destination-prefix/prefix-length—destination-prefix is the network portion of the IP address, and prefix-length is the destination prefix length.
-
next-table next-table—Specify the name of the next routing table to the destination. Forwarding for the aggregate prefix is done using this table. When you configure next-table to next-hop, route lookup is redirected to the route table that the next hop points to.
description description—Configure a description for the aggregate aggregate route. The configured description will be stored in backend data-structures and is used as an aggregate description in telemetry streaming.
The
policy
statement is explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.