03-12-2008 09:42 AM - edited 03-03-2019 09:06 PM
Scenario :-
R1--IBGP--R2--EBGP--R3
R2 applies community AS:NN to inbound updates of R3
route-map test permit 10
set weight 0
set origin igp
set community AS:NN
then while sending the updates to R1 and applies the following route map
route-map set-next-hop permit 5
match community comm
set ip next-hop loopback0
loopback0 is the R2 loopback IP address.
ip community-list standard comm permit AS:NN
While I do (on R2) "show ip bgp neigbors <R1-router id> advertised-routes", I can see that next hop of R3 prefixs is not changed.
but at R1, its getting R3 prefix with next hop as R2 loopback0.
anyone who can help here ???
Solved! Go to Solution.
03-13-2008 02:24 PM
Rajat,
This is also normal behavior. These counters displayed in the output of the "show route-map" are only incremented if the route-map is used for the purpose of Policy based routing (PBR).
Regards,
03-12-2008 10:19 AM
peform soft reset...
clear ip bgp {* | address | peer-group-name} soft in
regards
Devang
03-13-2008 07:18 AM
Hi Devang,
sorry for the delay in reply ...kinda busy in some other issue but I tried soft reset but no luck...
I got one reply from Harrold, and I kinda agree with him...
Thanks for your reply mate
rgds
03-13-2008 06:06 AM
Rajat,
This is normal behavior as the output of this command shows only the routes that made it through the outbound policy but it doesn't reflect the attribute alterations applied by this same outbound policy. In other words it shows these routes with the same attributes they have in the bgp loc-rib.
Hope this helps,
03-13-2008 07:15 AM
Hi Harold,
Thanks mate, you explanation makes sense..
ok then if there is a case that I donnt have access to R1 and I have to make sure that outbound policies have been applied at R2.
how can I check at R2 and the weird part is that I am not able to see any matches when do "show route-map
rgds
03-13-2008 09:46 AM
Rajat,
One way I know if you have absolutely no access to R1, is to use "deb ip bgp upd
Regards,
03-13-2008 12:14 PM
Harrold,
so we are left with last resort i.e. debug ...
If I think abt the order of operation of changing the attribute, kinda agree with you that only debug will give the correct picture ...
have you thought about the other aspect of why there are no matches shown for "show route-map
Regards
03-13-2008 02:24 PM
Rajat,
This is also normal behavior. These counters displayed in the output of the "show route-map" are only incremented if the route-map is used for the purpose of Policy based routing (PBR).
Regards,
03-14-2008 05:03 AM
Hi Harrold
hmmm now I know where the problem, its in my head :)
configuration is correct , everything is working fine and all the operations are normal and still i got ?? in my head ...
but this discussion does cleared lot of things, it was kind of reminder for me to stick to the basics while solving any problem..
yeah, you are correct again, when we do show route-map, its output says "policy routing matches " ...
Thanks a lot mate ..
regards
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: