RE: BGP communities - match on a route-map

From: Gupta, Gopal (NWCC) (gopal.gupta@hp.com)
Date: Fri Nov 23 2007 - 13:53:24 ART


 The way you are applying Community is not correct
Actually match statement matches only on community list and not directly
the vlaue.

So, use community list and then match that community list it would work.

HTH

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Vladimir Sousa
Sent: Friday, November 23, 2007 21:38
To: Cisco certification
Subject: BGP communities - match on a route-map
Importance: Low

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