cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
348
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
Cisco Employee
Cisco Employee

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: