Would ^200_ work?
On Thu, 04 Jul 2002 07:09:53 -0300, "Carlos G Mendioroz" said: > Omer, > _ should also match ^, so this is not it, or if it is, it's a bug :-) > > [See the same page you referred to, _1300_ does account for > ^1300(space).] > > Also, be careful with ^200.*, you would match "2001 100 5 " which is > not > what is asked for, and you would loose points, or permit transit, > depending on > the task at hand :-) > > Regards, > > > Omer Ansari wrote: > > > > Annu, > > > > you are using _200_ to match a route coming directly from 200. > > i see AS200 is adjacent. > > > > try ^200.* > > > > see bgp example at the end of the link: > > http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ftersv_c/ftsappx/tcfaapre.htm > > > > let us know if this helps? > > > > On Tue, 2 Jul 2002, Annu Roopa wrote: > > > > > Group, > > > > > > I have a community related question and the scenario > > > is as follows.What am i doing wrong ? Scenario is: > > > > > > > > > (AS100) > > > r11---------r8---------r10(AS 200) > > > iBGP eBGP > > > > > > There are some Networks (196.196.10.0/175.10.10.0 > > > etc)coming via R10 to R8.I want to add a community > > > string of 100:88 to all routes containing AS 200 and > > > send it to R11 from R8.But somehow its not adding it > > > rather adding 100:900 when i see it on R11. Whats > > > wrong with my logic ? > > > > > > Here are my configs and show commands. > > > > > > R8#sr > > > Building configuration... > > > Current configuration: > > > hostname r8 > > > ! > > > router bgp 100 > > > bgp router-id 8.1.1.1 > > > network 8.1.1.0 mask 255.255.255.0 > > > neighbor 11.1.1.1 remote-as 100 > > > neighbor 11.1.1.1 update-source Loopback0 > > > neighbor 11.1.1.1 next-hop-self > > > neighbor 11.1.1.1 send-community > > > neighbor 11.1.1.1 route-map address out > > > neighbor 180.10.10.1 remote-as 200 > > > neighbor 180.10.10.1 ebgp-multihop 255 > > > neighbor 180.10.10.1 update-source Loopback0 > > > ! > > > ip bgp-community new-format > > > ip as-path access-list 11 permit _200_ > > > ip as-path access-list 11 deny .* > > > ! > > > route-map address permit 10 > > > match as-path 11 > > > set community 100:88 > > > ! > > > route-map address permit 20 > > > set community 100:900 > > > > > > ------------------ > > > r8#sh ip bgp regexp _200_ > > > BGP table version is 12, local router ID is 8.1.1.1 > > > Status codes: s suppressed, d damped, h history, * > > > valid, > best, i - internal > > > Origin codes: i - IGP, e - EGP, ? - incomplete > > > > > > Network Next Hop Metric LocPrf > > > Weight Path > > > *> 10.1.1.0/24 180.10.10.1 0 200 300 i > > > *>175.10.10.0/24 180.10.10.1 0 200 300 i > > > *> 180.10.10.0/24 180.10.10.1 0 0 200 i > > > *> 190.10.10.0/24 180.10.10.1 0 200 300 400 > > > i*> 192.168.1.0 180.10.10.1 0 200 300 i > > > *> 196.196.1.0 180.10.10.1 0 200 300 i > > > ------------------------------- > > > R11#b 196.196.1.0 > > > BGP routing table entry for 196.196.1.0/24, version 40 > > > Paths: (1 available, best #1, table > > > Default-IP-Routing-Table) > > > Advertised to non peer-group peers: > > > 1.1.1.2 > > > 200 300 > > > 8.1.1.1 (metric 129) from 8.1.1.1 (8.1.1.1) > > > Origin IGP, localpref 100, valid, internal, best > > > Community:100:900 > > > > > > R11#b 175.10.10.0 > > > BGP routing table entry for 175.10.10.0/24, version 38 > > > Paths: (1 available, best #1, table > > > Default-IP-Routing-Table) > > > Advertised to non peer-group peers: > > > 1.1.1.2 > > > 200 300 > > > 8.1.1.1 (metric 129) from 8.1.1.1 (8.1.1.1) > > > Origin IGP, localpref 100, valid, internal, best > > > Community: 100:900 > > > --------------------------- > > > > > > Failed to troubleshoot it.Anyone with ideas. > > > > > > > > > > > > > > > > > > ===== > > > Thanks in advance for ur time and replies. > > > Annu. > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Sign up for SBC Yahoo! Dial - First Month Free > > > http://sbc.yahoo.com > > > _________________________________________________________________ > > > Commercial lab list: http://www.groupstudy.com/list/commercial.html > > > Please discuss commercial lab solutions on this list. > > _________________________________________________________________ > > Commercial lab list: http://www.groupstudy.com/list/commercial.html > > Please discuss commercial lab solutions on this list. > -- > Carlos G Mendioroz LW7 EQI Argentina > _________________________________________________________________ > Commercial lab list: http://www.groupstudy.com/list/commercial.html > Please discuss commercial lab solutions on this list. -- Anthony Pace [EMAIL PROTECTED] -- http://fastmail.fm - Sent .0000002 seconds ago Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=48250&t=48250 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]