RE: BGP communities - match on a route-map

From: Joel Amao (femmy79@hotmail.com)
Date: Fri Nov 23 2007 - 14:20:15 ART


Hello,

you need to define a community-list and match that.

 A community-list will call the community.

so add this to your config

ip community-list STandard TEST permit 10:10

then under the route-map :

route-map rm_from_r2 permit 10match community TEST
set weight 10000

dont forget to add a permit for other updates that wouldnt match seq 10

route-map rm_from_r2 permit 30

Thanks,

Joel Amao
CCIE#18128

> Date: Fri, 23 Nov 2007 14:08:07 -0200> From: vladrac@gmail.com> To:
ccielab@groupstudy.com> Subject: BGP communities - match on a route-map> > Im
trying to match a community string on a route-map in a BGP neighbor and> its
not working> > basically:> > r6#sh ip bgp 192.0.8.0/21> BGP routing table
entry for 192.0.8.0/21, version 28> Paths: (2 available, best #2, table
Default-IP-Routing-Table)> Advertised to non peer-group peers:> 10.0.200.2>
200 100, (aggregated by 100 192.0.12.1)> 10.0.200.2 from 10.0.200.2
(10.0.2.1)> Origin IGP, localpref 100, valid, external> Community: 10:10> > R2
- > R6> > neighbor 10.0.200.2 route-map rm_from_r2 in> > route-map rm_from_r2
permit 10> match community 10:10> set weight 10000> > Why the weight is not
being set?> >



This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:31 ART