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

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


Creates an aggregate address entry in the BGP routing table.

The no form of this command removes the specified aggregate address entry.

Command context





Specifies an aggregate address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255, or IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where x is a hexadecimal number from 0 to F.


Specifies the number of bits in the address mask in CIDR format (x), where x is a decimal number from 0 to 128.


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.


Creates the aggregate route but also suppresses 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.


Administrators or local user group members with execution rights for this command.


switch(config-bgp-ipv4-uc)# aggregate-address
switch(config-bgp-ipv4-uc)# no aggregate-address
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 as-set summary-only
switch(config-bgp-ipv4-uc)# aggregate-address 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