From: GAURAV MADAN (gauravmadan1177@gmail.com)
Date: Mon Aug 04 2008 - 08:36:02 ART
HI Vijay
Yes .. Harry is absolutely correct ..
You need a mechanism to propogate the communities .
SO have the CLI " neighbor <> send-community both " on required routers
HTH
Gaurav Madan.
On Mon, Aug 4, 2008 at 5:02 PM, Vijay Kurraha <vijaykurraha@yahoo.com> wrote:
> Is this normal ?
> Thanks
>
>
>
> ----- Original Message ----
> From: Harry Chan
> <harrychan.hk@gmail.com>
> To: ccielab@groupstudy.com
> Sent: Monday, August 4,
> 2008 2:09:24 AM
> Subject: Re: BGP: community no-export
>
> In your configuration,
> R5 is sending community attribute to R2, but R2
> is not propagating that
> therefore R1 is sending this route to R4.
>
> You need to add the neighbor
> x.x.x.x send-community to R1 R2 & R3.
>
> 2008/8/4 Vijay Kurraha
> <vijaykurraha@yahoo.com>:
>> Team...
>> Need help
>> R4
> ----- R1--R3---R2 ---- R5
>> R4: AS3
>> R1/R2/R3: AS2
>> R5: AS1
>> I
> am trying to set "Community:
>> no-export" in R5... so , routes from R5 will
> not export into R4.....
>> Here is
>> my config
>> R4:
>> interface Ethernet0/1
>>
> ip address 155.1.146.4 255.255.255.0
>> router bgp 3
>> no synchronization
>>
> bgp log-neighbor-changes
>> network 204.12.1.0
>> neighbor 155.1.146.1
> remote-as 2
>> no auto-summary
>> !
>> R1:
>> interface Ethernet0/0
>> ip address
> 155.1.146.1 255.255.255.0
>> interface Serial0/1
>> ip address
>> 155.1.13.1
> 255.255.255.0
>> encapsulation ppp
>> clock rate 64000
>> !
>> router eigrp 2
>>
> network 155.1.13.1 0.0.0.0
>> auto-summary
>> !
>> router bgp 2
>> no
> synchronization
>> bgp log-neighbor-changes
>> neighbor 155.1.13.3 remote-as 2
>> neighbor
>> 155.1.13.3 next-hop-self
>> neighbor 155.1.23.2 remote-as 2
>>
> neighbor 155.1.23.2
>> next-hop-self
>> neighbor 155.1.146.4 remote-as 3
>> no
> auto-summary
>> R3:
>> interface
>> Serial0/2
>> ip address 155.1.13.3
> 255.255.255.0
>> !
>> interface Serial0/3
>> ip
>> address 155.1.23.3
> 255.255.255.0
>> interface Ethernet1/0
>> ip address 155.1.37.3
>> 255.255.255.0
>> !
>> router eigrp 2
>> network 155.1.13.3 0.0.0.0
>> network 155.1.23.3
>>
> 0.0.0.0
>> auto-summary
>> !
>> router bgp 2
>> no synchronization
>> bgp
>>
> log-neighbor-changes
>> network 155.1.37.0 mask 255.255.255.0
>> neighbor
>>
> 155.1.13.1 remote-as 2
>> neighbor 155..1.23.2 remote-as 2
>> no auto-summary
>> R2:
>> interface Serial1/0
>> ip address 155.1.0.2 255.255.255.0
>>
> encapsulation
>> frame-relay
>> frame-relay map ip 155.1..0.5 205 broadcast
>>
> no frame-relay
>> inverse-arp
>> !
>> interface Serial1/1
>> ip address
> 155.1.23..2 255.255.255.0
>> encapsulation ppp
>> clock rate 64000
>> !
>>
> router eigrp 2
>> network 155.1.23.2
>> 0.0.0.0
>> auto-summary
>> !
>> router
> bgp 2
>> no synchronization
>> bgp
>> log-neighbor-changes
>> neighbor
> 155.1.0.5 remote-as 1
>> neighbor 155.1.13.1
>> remote-as 2
>> neighbor
> 155.1.13.1 next-hop-self
>> neighbor 155.1.23.3 remote-as
>> 2
>> neighbor
> 155.1.23.3 next-hop-self
>> no auto-summary
>> and
>> R5:
>> interface
>>
> Serial0/0
>> ip address 155.1.0.5 255.255.255.0
>> encapsulation frame-relay
>> frame-relay map ip 155.1.0.2 502 broadcast
>> no frame-relay inverse-arp
>>
> !
>> interface Ethernet0/1
>> ip address 155.1.5.5 255.255.255.0
>> half-duplex
>> !
>> router bgp 1
>> no synchronization
>> bgp log-neighbor-changes
>>
> network 155.1.5.0
>> mask 255.255.255.0
>> neighbor 155.1.0.2 remote-as 2
>>
> neighbor 155.1.0.2
>> send-community
>> neighbor 155.1.0.2 route-map ABCD out
>> no auto-summary
>> access-list 2 permit 155.1.5.0
>> route-map ABCD permit 10
>> match ip address 2
>> set community no-export
>> When I check R2.. it shows
> Community: no-export
>> R2#sh ip bgp 155.1.5.0
>> BGP routing table entry for
> 155..1.5.0/24, version 12
>> Paths: (1 available, best #1, table
> Default-IP-Routing-Table, not advertised
>> to EBGP peer)
>> Flag: 0x820
>>
> Advertised to update-groups:
>> 3
>> 1
>> 155.1..0.5 from 155.1.0.5
> (155.1.45.5)
>> Origin IGP, metric 0,
>> localpref 100, valid, external,
> best
>> Community: no-export
>>
>> But R3 is not
>> showing no export
>> R3#sh
> ip bgp 155.1.5.0
>> BGP routing table entry for
>> 155.1.5.0/24, version 16
>>
> Paths: (1 available, best #1, table
>> Default-IP-Routing-Table)
>> Not
> advertised to any peer
>> 1
>> 155.1.23.2 from
>> 155.1.23.2 (155.1.2.2)
>>
> Origin IGP, metric 0, localpref 100, valid,
>> internal, best
>>
>> ... and I
> can see the routes in R4...
>> R4#sh ip bgp
>> BGP table version is 18, local
> router ID is 4.4.4.4
>> Status codes: s
>> suppressed, d damped, h history, *
> valid, > best, i - internal,
>>
>> r RIB-failure, S Stale
>> Origin codes: i -
> IGP, e - EGP, ? - incomplete
>>
>> Network Next Hop Metric
> LocPrf Weight Path
>> *>
>> 155.1..5.0/24 155.1.146.1
> 0 2 1 i
>> *>
>> 155.1.37.0/24 155..1.146.1 0
> 2 i
>> *>
>> 204.12.1.0 0.0.0.0 0 32768 i
>> What I
> am doing
>> wrong ?
>> Please help.
>> Thanks
>> VJ
>>
>>
>> Blogs and organic groups
> at http://www.ccie.net
>>
>>
> _______________________________________________________________________
>>
> Subscription information may be found at:
>>
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at
> http://www.ccie.net
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:29 ART