From: tonynguyenchi (tonynguyenchi.ccie@gmail.com)
Date: Tue Sep 05 2006 - 04:42:02 ART
Dear GS,
Why do we need to use distribute-list in BGP (following the solution)?
router bgp 100
bgp router-id 150.1.5.5
bgp log-neighbor-changes
neighbor 150.1.6.6 remote-as 100
neighbor 150.1.6.6 update-source Loopback0
neighbor 204.12.1.254 remote-as 54
!
address-family ipv4
redistribute rip route-map RIP_TO_BGP
neighbor 150.1.6.6 activate
neighbor 150.1.6.6 next-hop-self
neighbor 204.12.1.254 activate
neighbor 204.12.1.254 route-map ODD_ROUTES in
neighbor 204.12.1.254 unsuppress-map RIP_TO_BGP
distribute-list prefix DENY_AGGREGATE in
no auto-summary
synchronization
aggregate-address 139.1.0.0 255.255.0.0 summary-only
exit-address-family
!
ip prefix-list DENY_AGGREGATE seq 5 deny 139.1.0.0/16
ip prefix-list DENY_AGGREGATE seq 10 permit 0.0.0.0/0 le 32
Thanks and best regards,
Tony
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART