Im confused with the following documents on how bgp process updates and result on my lab
For outbound updates the order of preference is:
route-map | unsuppress-map
ORF prefix-list (a prefix-list the neighbor sends us)
My route-map is used to filter network 100.100.100.0
My filter list to advertised all local routes on my AS (22.214.171.124 & 10.10.10.0 & 100.100.100.0 )
router bgp 1111
network 126.96.36.199 mask 255.255.255.0
network 10.10.10.0 mask 255.255.255.0
network 100.100.100.0 mask 255.255.255.0
neighbor 192.168.1.2 remote-as 1111
neighbor 192.168.1.2 route-map Local_route-out out
neighbor 192.168.1.2 filter-list 1 out
neighbor 192.168.1.6 remote-as 1111
neighbor 192.168.1.6 route-map Local_route-out out
ip forward-protocol nd
ip as-path access-list 1 permit ^$
no ip http server
no ip http secure-server
ip prefix-list Local_routes seq 5 permit 188.8.131.52/24
ip prefix-list Local_routes seq 10 permit 10.10.10.0/24
route-map Local_route-out permit 10
match ip address prefix-list Local_routes
R1# clear ip bgp * soft out
R1#show ip bgp neighbors 192.168.1.2 advertised-routes
BGP table version is 8, local router ID is 10.10.10.10
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 184.108.40.206/24 0.0.0.0 0 32768 i
*> 10.10.10.0/24 0.0.0.0 0 32768 i
Solved! Go to Solution.
Francesco's answer is correct.
The routes pass through the filter-list first and all three are allowed, but then the route-map filter is configured to allow only two, which is where the third route gets dropped.
We are confusing here with the routes and the actual traffic.
The policy we are applying manipulates when the route is learnt in inbound meaning for the out traffic. and viceversa.
I think its working as expected.
If my internet is at 220.127.116.11 and if I apply policy on "a" with route map so my traffic from R1 to R3 will be manipulated.
He is just confused between the function of dataplane and the control plane as we know the policy or filter list etc we apply we do it control the control plane updates to our Routing table from RIB in table, so the traffic from inside network will get impacted.