cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
542
Views
5
Helpful
1
Replies

problem of route-map in bgp

ilovebgp4
Level 1
Level 1

hi!Dear all

I have implement a route-map in my bgp configration to set community attribute of the routes that will advertise to a eBGP peer.but it doesn't works : "show ip bgp community no-export" show nothing from the eBGP peer;

below is my configration:

...

router bgp 100

no synchronization

bgp log-neighbor-changes

aggregate-address 192.168.192.0 255.255.248.0

redistribute eigrp 100

neighbor 192.168.1.246 remote-as 200

neighbor 192.168.1.246 send-community

neighbor 192.168.1.246 route-map setcomm out

no auto-summary

!

access-list 101 permit ip host 192.168.192.0 host 255.255.248.0

!

route-map setcomm permit 10

match ip address 101

!

route-map setcomm permit 20

set community no-export

...

But after I "clear bgp *",the configration begin works.Does it mean the route-map in bgp require reestablish bgp relation to works?

Thanks a lot for your help!

1 Reply 1

Harold Ritter
Spotlight
Spotlight

This is normal behavior. You need to force the updates to be resent to the neighbor(s) whenever there is a change in your routing policies. You don't necesseraly need to reset the session for this to happen. You could rather do a "clear ip bgp soft out" on the router where the policy has been changed.

Hope this helps,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)