Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aggregate Route and Route-Map Issue

Status
Not open for further replies.

peterlyttle

Technical User
Joined
Nov 6, 2006
Messages
139
Location
GB
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

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#
 
I worked out what the problem was with this. Use the following to create AGG routes -

Code:
router aggregate
    aggregate-address 10.222.0.0 20 protocol direct
    exit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top