# aggregate-address

#### Syntax

[ no ] aggregate-address { address mask | ipv6Prefix }
[ as-set | summary-only | attribute-map attributeMapTag |
advertise-map advertiseMapTag | suppress-map suppressMapName ]*

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Creates an aggregate entry in a BGP routing table. The no version removes the aggregate.

#### Options

- address—Aggregate IPv4 address
- mask—Aggregate IPv4 mask
- ipv6Prefix—Aggregate IPv6 prefix
- as-set—If the as-set option is not specified, the path attributes of the aggregate route are set in the same way as locally originated routes, except that the atomic_aggregate and aggregator attributes are added. If the as-set option is used, the path attributes of the aggregate route are determined by combining the path attributes of the aggregated routes as described in RFC 4271—A Border Gateway Protocol 4 (BGP-4). If the as-set option is used, the path attributes of the aggregate route may change whenever one of the aggregated routes changes, causing the aggregate route to be readvertised.
- summary-only—Filters all more specific routes from updates. summary-only not only creates the aggregate route but also suppresses advertisements of more-specific routes to all neighbors. If you only want to suppress advertisements to certain neighbors, you may use the neighbor distribute-list command, with caution. If a more-specific route leaks out, all BGP speakers will prefer that route over the less-specific aggregate you are generating (using longest-match routing). Alternatively, you can use the suppress-map keyword to suppress specific routes.
- attributeMapTag—String of up to 32 characters that identifies the route map used to set the attributes of the aggregate route
- advertiseMapTag—String of up to 32 characters that identifies the route map used to set the routes to create AS-SET origin communities in the range
- suppressMapName—String of up to 32 characters that identifies a route map that filters routes to be suppressed
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Address Family Configuration, Router Configuration