cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
389
Views
4
Helpful
3
Replies

Problems with bgp and communities

j.restaino
Level 1
Level 1

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 3

nambi_gct
Level 1
Level 1

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.

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]

great!!!thanks for updating.

Review Cisco Networking for a $25 gift card