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. And see here for current known issues.

New Member

Problems with bgp and communities

I have a router with two ebgp neighbors and one ibgp neighbor. The router recieved the networks with different communities from the ibgp neighbor and with community-list and route-maps we decide for which ebgp sesion advertise the networks. But when i send a network with two differents communities to be advertise for the two different ebgp session the router do not advertise this network.

I will be very glad if some could help me

3 REPLIES
New Member

Re: Problems with bgp and communities

Hi,

You can do like this to debug this issue.

1) Please use community list option with "show ip bgp" command and see if the particular network is listed.

2) From the config the regexp seems to be wrong.

^65000:[0|1][0|4]0[0|5]2$

This always allows only one community value.Please check this.

Thanks

Nambi.

New Member

Re: Problems with bgp and communities

Thanks a lot, with the community-list without the ^ and $ the problem is solved.

Now the community-list are

ip community-list expanded 65000_MAQ_1 permit 65000:[0|1][0|4]0[0|5][0|1]

ip community-list expanded 65000_MAQ_2 permit 65000:[0|1][0|4]0[0|5][0|2]

New Member

Re: Problems with bgp and communities

great!!!thanks for updating.

132
Views
4
Helpful
3
Replies
CreatePlease to create content