10-24-2010 02:14 PM - edited 03-04-2019 10:14 AM
I wish to have a conditional advertisement for some of the networks statements to a BGP neighbour while some are always advertised, assuming the route for that network is in the routing table.
So there would be 2 groups of routes:
A) Always advertised assuming there is a route
B) Advertised if its condition route is met as well as the route is in the routing table of the router.
I can only find examples of setting up a conditional only and not the mix, which looks relatively simple.
Any pointers would be gratefully received. Thanks
10-24-2010 06:15 PM
Hi ,
This is what i understood..you want to advt. few prefix always and few with some condition set.
well if it is so then you can set prefix-list and route-map both in outbound direction.
you keep routes always advt. in prefix list statement.
and keep routes with condition in route-map like
neighbor x.x.x.x prefix-list ABC out
neighbor x.x.x.x route-map XYZ out
because the order of preference in outbound direction is
prefix-list, distribute-list
filter-list
route-map
Regards
Mahesh
10-26-2010 03:54 PM
because the order of preference in outbound direction is
prefix-list,
distribute-list
filter-list
route-map
In this list is an advertise-map equviliant to a route-map? Or does it come some where else in the list?
10-24-2010 11:28 PM
I assume you have checked Cisco docs already, just to re-iterate we can take help from BGP Conditional Advertisement Feature
-
Normally, routes are propagated regardless of the existence of a different path. The BGP conditional advertisement feature uses the non-exist-map and the advertise-map keywords of the neighbor advertise-map command in order to track routes by the route prefix. If a route prefix is not present in output of the non-exist-map command, then the route specified by the advertise-map command is announced. This feature is useful for multihomed networks, in which some prefixes are advertised to one of the providers only if information from the other provider is not present (this indicates a failure in the peering session or partial reachability).
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: