Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP Local pref with Route-map

hi,

In CBT Nuggets, Jeremy says that, if we do not specify a permit statement at the end of the route-map, all unmatched routes will be discarded.

However, in Cisco IOS Cookbook, I read that even if we do not specify a permit statement at the end, all routes will submit to the standard routing process.

Any clarification?

2 REPLIES
Hall of Fame Super Silver

Re: BGP Local pref with Route-map

hello Wassim,

my understanding is the following:

when an empty final permit statement is needed or not depends on the route-map usage:

-if the route-map is used to perform route filtering and manipulation all unmatched prefixes will be discarded: not sent to a BGP neighbor or not considered in protocol redistribution.

- if the route-map is used for PBR packets not matching any route-map block will be not discarded but routed normally using standard unicast destination based routing

Hope to help

Giuseppe

Hall of Fame Super Silver

Re: BGP Local pref with Route-map

Giuseppe

Well explained and exactly correct.

HTH

Rick

114
Views
5
Helpful
2
Replies