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

multiple advertise map \ conditional statements

Hi All,

I guess advertise map under BGP can be used only for a prefix. Is there a way to define multiple conditional advertisements For eg. advertise 10.0.0.0/8 when 172.16.1.2/32 is unavailable + advertise 200.200.200.0/24 when 172.16.1.3/32 + ......

Regards,
Santosh

3 REPLIES
Cisco Employee

Re: multiple advertise map \ conditional statements

Hi Santosh,

Yes it's supported. What is not supported is multiple conditional statement for the same advertise prefix like:

neighbor xxx.xxx.xxx.xxx adtervise-map xxx non-exist-map xxx
neighbor xxx.xxx.xxx.xxx adtervise-map xxx non-exist-map yyy

HTH

Laurent.

New Member

Re: multiple advertise map \ conditional statements

Hi Laurent,

Thanks. Can you give me an example or a URL with such configuration.

Thanks in advance.

Best regards.......

Cisco Employee

Re: multiple advertise map \ conditional statements

Here is the template:

neighbor 1.1.1.1 advertise-map aaa non-exist-map bbb 
neighbor 1.1.1.1 advertise-map ccc non-exist-map ddd
Each route-map refer to a different prefix.

HTH

Laurent.

478
Views
0
Helpful
3
Replies