© Copyright IBM Corp. 2011 Chapter 21. Border Gateway Protocol 255
Figure 25. Route Aggregation and Default Route Redistribution
1. Configure the IP interface.
2. Configure the AS number (AS 135) and router ID (10.1.1.135)
.
3. Configure internal peer router 1 and external peer router 2 with IPv4
addresses.
4. Configure redistribution for Peer 1.
5. Configure aggregation policy control.
Configure the IPv4 routes that you want aggregated.
>> # router bgp
>> (config-router-bgp)# as 135
>> (config-router-bgp)# exit
>> #
ip router-id 10.1.1.135
>> # router bgp
>> (config-router-bgp)# neighbor 1 remote-address 10.1.1.4
>> (config-router-bgp)# neighbor 1 remote-as 135
>> (config-router-bgp)# neighbor 2 remote-address 20.20.20.2
>> (config-router-bgp)# neighbor 2 remote-as 200
>> (config-router-bgp)# neighbor 1 redistribute default-action
redistribute
>> (config-router-bgp)# neighbor 1 redistribute fixed
>> (config-router-bgp)# aggregate-address 1 135.0.0.0 255.0.0.0
>> (config-router-bgp)# aggregate-address 1 enable