No, because you are applying the local pref after you received the routes. When you check the received routes you are seeing the raw route/metrics the upstream is sending you. What matters locally is what is on your local routing table. When you do sh ip bgp x.x.x.x you should see that route as the best route assuming it has the best local pref.
paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Righa Shake Sent: Wednesday, January 19, 2011 9:45 AM To: [email protected] Subject: [c-nsp] BGP Local Preference using Route-maps Am using route-maps to do BGP filtering. I have set the match statement to match the prefix-lists and then set a local preference of 200. When i check to see received routes from my neighbor peers the routes are not seen to be the best routes. However when i check as per the routing table these routes appear and appear together with the local preference of 200. I wondering if when i run show ip bgp neighbor <ip> received-routes , should i not see the routes as beign the best path? Regards, Shake Righa _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
