aggregate-address

Syntax

aggregate-address <ADDRESS/MASK> [as-set] [summary-only] 
        [suppress-map <MAP-NAME>] [advertise-map <MAP-NAME>] 
        [attribute-map <MAP-NAME>]

no aggregate-address <ADDRESS/MASK> [as-set] [summary-only] 
        [suppress-map <MAP-NAME>] [advertise-map <MAP-NAME>] 
        [attribute-map <MAP-NAME>]

Description

This command creates an aggregate entry in a BGP database.

The no form of this command disables this function.

Command context

config-bgp-ipv4-uc

or

config-bgp-ipv6-uc

Parameters

<ADDRESS/MASK>

Specifies an aggregate address and mask. Format: A.B.C.D/M

as-set

Select to create an aggregate entry using the same rules that the command follows without this keyword, but the AS_PATH attribute advertised for this route will contain an AS_SET consisting of all AS numbers contained in all paths that are being summarized.

summary-only

Select to create the aggregate route but also suppresses the advertisements of more-specific routes to all neighbors.

suppress-map <MAP-NAME>

Specifies an aggregate route for creation, but suppresses the advertisement of the created route. Match clauses of route maps can be used to suppress some more-specific routes of the aggregate selectively, and leave others unsuppressed. IP prefix lists and as_path lists match clauses are supported.

advertise-map <MAP-NAME>

Specifies routes that will be used to build attributes of the aggregate route, such as AS_SET or community.

attribute-map <MAP-NAME>

Specifies that the attributes of the aggregate route can be changed.

Authority

Administrators

Examples

switch(config-bgp-ipv4-uc)# aggregate-address 10.0.0.0/8
switch(config-bgp-ipv4-uc)# no aggregate-address 10.0.0.0/8
switch(config-bgp-ipv6-uc)# aggregate-address 2001:0db8:85a3::8a2e:0370:7334/24
switch(config-bgp-ipv6-uc)# no aggregate-address 2001:0db8:85a3::8a2e:0370:7334/24
switch(config-bgp-ipv4-uc)# aggregate-address 10.0.0.0/8 as-set summary-only
switch(config-bgp-ipv4-uc)# aggregate-address 10.0.0.0/8 attribute-map RMap
switch(config-bgp-ipv6-uc)# aggregate-address 2001:0db8:85a3::8a2e:0370:7334/24 as-set summary-only
switch(config-bgp-ipv6-uc)# aggregate-address 2001:0db8:85a3::8a2e:0370:7334/24 attribute-map RMap