GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Re: BGP community Q [7:48007] posted 07/03/2002
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Annu,
        I'll provide a hint.... !    Look at your "as-path" ACL.. the answer
lies therein..:->

Nigel

----- Original Message -----
From: "Annu Roopa" 
To: 
Sent: Wednesday, July 03, 2002 10:56 AM
Subject: BGP community Q [7:48007]


> 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




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=48055&t=48007
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to abuse@xxxxxxxxxxxxxx