I am working with BGP in a lab and I am missing something that I clearly don't understand.
The lab is as follows - one site (AS1234) connected to two providers (7018,209).
Again this is in a lab so please do not mind the private addresses or any of the other fictious info I use.
I am using the following route-map to control outbound routing updates
access-list 10 permit 10.10.10.0 0.0.0.255 access-list 15 permit 20.20.20.0 0.0.0.255
! route-map AS-7018-OUTGOING permit 10 match ip address 10 set as-path prepend 12345 ! route-map AS-7018-OUTGOING permit 20 match ip address 15 set community 7018:20
!Route map is applied... router bgp 12345 neighbor 50.0.1.1 route-map AS-7018-OUTGOING out
My understanding is that only the two IP blocks would be sent outbound and not the other routes learned by my IBGP neighbor. However in my lab when I do
sh ip bgp nei advertised-routes
I see that I am advertising all of the partials I received from the other provider through my IBGP connection. What am I missing? I thought that if none of the conditions were met on the route-map that the route would be silently discarded and not redistributed.
Amy.