11-04-2018 12:23 AM
Hi Experts.
I understand the conditional route advertisement feature using advertise-map.
Is there a way to make multiple route advertisement/conditions?
example:
advertise IP1 if IP100 exists
advertise IP2 if IP101 exists
advertise IP3 if IP102 exists
Thanks in advance.
11-08-2018 11:52 PM
You can configure BGP conditional advertisement to limit the routes that BGP propagates. You define
the following two route maps:
• Advertise map—Specifies the conditions that the route must match before BGP considers the
conditional advertisement. This route map can contain any appropriate match statements.
• Exist map or nonexist map—Defines the prefix that must exist in the BGP table before BGP
propagates a route that matches the advertise map. The nonexist map defines the prefix that must not
exist in the BGP table before BGP propagates a route that matches the advertise map. BGP processes
only the permit statements in the prefix list match statements in these route maps.
If the route does not pass the condition, BGP withdraws the route if it exists in the BGP table.
1. configure terminal
2. router bgp as-number
3. neighbor ip-address
4. remote-as as-number
5. address-family {ipv4 | ipv6} {unicast | multicast}
6. advertise-map adv-map {exist-map exist-rmap | non-exist-map nonexist-rmap}
7. (Optional) show bgp {ipv4 | ipv6} {unicast | multicast} neighbors
8. (Optional) copy running-config startup-config
05-31-2019 03:24 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide