By default, a device advertises individual routes for all networks. To minimize the size of the routing table, you can aggregate the routes in a range of networks into one IPv4 prefix.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv4 unicast
device(config-bgp-ipv4u)# aggregate-address 10.1.1.1/32
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 unicast device(config-bgp-ipv4u)# aggregate-address 10.1.1.1/32