peterlyttle
Technical User
Hello,
I'm hoping someone can help me with aggregating routes and with route-maps etc? Basically I am trying to aggregate the 10.222.0.0/20 (as its currently redistributing smaller /21 to /29s etc) network when advertised to the 10.218.2.33 (12344) peer and keep all the other routes as they are.
Anyone any ideas where I've gone wrong?
Cheers,
Peter
I'm hoping someone can help me with aggregating routes and with route-maps etc? Basically I am trying to aggregate the 10.222.0.0/20 (as its currently redistributing smaller /21 to /29s etc) network when advertised to the 10.218.2.33 (12344) peer and keep all the other routes as they are.
Anyone any ideas where I've gone wrong?
Cheers,
Peter
Code:
ip prefix-list Agg-Routes seq 5 deny 10.222.0.0/21 ge 21 le 32
ip prefix-list Agg-Routes seq 10 permit 0.0.0.0/0 ge 0 le 32
router aggregate
aggregate-address 10.222.0.0 20 protocol bgp
exit
route-map Agg-Routes permit 5
match ip address prefix-list Agg-Routes
exit
router bgp 12343
bgp router-id 10.222.14.193
no bgp restart-delete-remnants
timers bgp 7 21
network 10.218.255.0 mask 255.255.255.0
neighbor 10.218.4.206 remote-as 12341
neighbor 10.218.2.33 remote-as 12344
neighbor 10.218.2.33 next-hop-self
neighbor 10.218.2.33 soft-reconfiguration inbound
neighbor 10.218.2.33 aspath-prepend 5
neighbor 10.218.2.33 route-map Agg-Routes out
redistribute direct
redistribute kernel
redistribute bgp
redistribute static
redistribute aggregate
exit
localhost#