What I am needing to do is control what I advertise into BGP. Specifically, I have two groups of connected networks, one cannot be advertised, the other group needs to be advertised. My question is how route maps are processed. One of the members in my team (who honestly is more experienced and smarter than me) is concerned that my first prefix list will also deny the network I am trying to advertise because of the implicit deny all at the end of a prefix list that contains any terms. My contention is that each route-map is processed separately and in order (like firewall filter terms). Here is simplified version of how I am proposing to run this:
(BGP configuration)
redistribute connected route-map CONNECTED
route-map CONNECTED deny 10
match ip address prefix-list DENY
route-map CONNECTED permit 20
match ip address prefix-list allow
ip prefix-list DENY seq 10 deny 192.168.0.0/24
ip prefix-list ALLOW seq 10 permit 192.168.1.0/24
Can anyone definitivly solve this argument. I am having trouble finding any route map examples or explinations that use more than one sequence.
Thanks in advance