The concrete configuration is shown as follows:
router bgp 100
aggregate-address 193.0.0.0 255.0.0.0
Configure one aggregate route:
router bgp 100
aggregate-address 193.0.0.0 255.0.0.0 as-set
The as-path segment of aggregated route is an collection of as:
router bgp 100
aggregate-address 193.0.0.0 255.0.0.0 summary-only
The aggregated route will not be advertised
29.18.5 Configuring Confederation
When configuration of confederation, it is necessary to use the bgp confederation
identifier command to configure the AS number for the external connection, and use the
bgp confederation peers command to configure other confederation members.
The concrete configuration is shown as follows:
router bgp 6003
bgp confederation identifier 666
bgp confederation peers 6001 6002
neighbor 171.69.232.57 remote-as 6001
neighbor 171.69.232.55 remote-as 6002
neighbor 200.200.200.200 remote-as 701
The configuration of peer 200.200.200.200 out of the confederation is shown as follows:
router bgp 701
neighbor 171.69.232.56 remote-as 666
neighbor 200,200,200,205 remote-as 701
For the configuration, the first device is of the confederation, while the second device is not
of the confederation, so they are of the EBGP neighbor relationship.
Following is a configuration example, the relationship between the devices and the
alloctioan of Ip address is shown:
Figure 29-4