Aggregate the Routes to Advertise to BGP4+ Neighbors

You can aggregate BGP4+ routes into one network prefix, for example, 2001:db8::/24. This single prefix is advertised to BGP4+ neighbors instead of the individual BGP routes in the routing table that are within the specified range.
  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Access IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  4. Specify the network prefix into which routes are to be aggregated.
    device(config-bgp-ipv6u)# aggregate-address 2001:db8::/32

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# aggregate-address 2001:db8::/32