The communities are not propagatedto internal or external BGP neighbors by
default. The send-community option is required in order for the assigned
community to be sent out.
And you need to use the community no-export to avoid the route to be
propagated ....


Nigel Taylor wrote:

> All,
>     I just got done working through lab 325 - Adv BGP Routing and I was =
> hoping someone could tell me if I'm missing something or =
> misunderstanding the requirements for task (11) eleven.  The =
> requirements calls for the implementation of communitites attribute to =
> dynamically limit the advertisment of an external learned network route =
> from AS300 to AS100.  In doing so I accomplished this with the use of =
> applying the following configuration commands.  In the fatkid solution =
> they make use of the command "send-community" on every bgp peer =
> connection.  Based on the requirements I don't think this necessary?  =
> Anyone did this lab and had the same questions or thoughts..
>
> Nigel.
>
> R2:
> router bgp 200
>  bgp router-id 190.19.15.145
>  redistribute eigrp 200 route-map localnet
>  neighbor 190.19.15.177 remote-as 200
>  neighbor 190.19.15.177 update-source Loopback0
>  neighbor 190.19.15.177 send-community
>  neighbor 190.19.15.177 route-map setcom out
>  neighbor 210.10.10.5 remote-as 300
>  neighbor 210.10.10.5 weight 450
>  no auto-summary
> !
> ip classless
> !
> dialer-list 1 protocol ip permit
> route-map setcom permit 10
>  set community no-export
>
> R3:
> router bgp 200
>  bgp router-id 190.19.15.161
>  redistribute eigrp 200 route-map localnet
>  neighbor 190.19.15.177 remote-as 200
>  neighbor 190.19.15.177 update-source Loopback0
>  neighbor 190.19.15.177 send-community
>  neighbor 190.19.15.177 route-map setcom out
>  neighbor 210.10.10.1 remote-as 300
>  no auto-summary
> !
> ip classless
> !
> dialer-list 1 protocol ip permit
> route-map setcom permit 10
>  set community no-export
>
> R4:
> router bgp 200
>  bgp router-id 190.19.15.177
>  bgp log-neighbor-changes
>  redistribute eigrp 200 route-map localnet
>  neighbor 190.19.15.145 remote-as 200
>  neighbor 190.19.15.145 update-source Loopback0
>  neighbor 190.19.15.145 route-reflector-client
>  neighbor 190.19.15.161 remote-as 200
>  neighbor 190.19.15.161 update-source Loopback0
>  neighbor 190.19.15.161 route-reflector-client
>  neighbor 192.19.15.1 remote-as 100
>  neighbor 192.19.15.1 route-map weight250 in
>  no auto-summary
>
> R4#sh ip bgp
> BGP table version is 25, local router ID is 190.19.15.177
> 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
> *> 20.1.1.0/24      192.19.15.1              0           250 100 i
> *> 22.1.1.0/24      192.19.15.1              0           250 100 i
> *> 24.1.1.0/24      192.19.15.1              0           250 100 i
> * i190.1.0.0        210.10.10.1              0    100      0 300 i
> *>i                 210.10.10.5              0    100      0 300 i
> *> 190.19.15.0/26   0.0.0.0                  0         32768 ?
> * i                 190.19.15.161            0    100      0 ?
> *> 190.19.15.64/26  0.0.0.0                  0         32768 ?
> * i                 190.19.15.145            0    100      0 ?
> *> 190.19.15.128/28 190.19.15.66      40537600         32768 ?
> * i                 190.19.15.161            0    100      0 ?
> * i                 190.19.15.145            0    100      0 ?
> *> 190.19.15.129/32 190.19.15.2       40537600         32768 ?
> * i                 190.19.15.161            0    100      0 ?
> *> 190.19.15.130/32 190.19.15.66      40537600         32768 ?
> * i                 190.19.15.145            0    100      0 ?
> *> 190.19.15.144/28 190.19.15.66        409600         32768 ?
> * i                 190.19.15.145            0    100      0 ?
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 190.19.15.160/28 190.19.15.2         409600         32768 ?
> * i                 190.19.15.161            0    100      0 ?
> *> 190.19.15.176/28 0.0.0.0                  0         32768 ?
> *> 192.19.15.0      0.0.0.0                  0         32768 ?
> *> 210.10.10.0/30   190.19.15.2        2195456         32768 ?
> * i                 190.19.15.161            0    100      0 ?
> *> 210.10.10.4/30   190.19.15.66       2195456         32768 ?
> * i                 190.19.15.145            0    100      0 ?
> r3_14#
>
> r4#sh ip bgp 190.1.0.0=20
> BGP routing table entry for 190.1.0.0/16, version 2
> Paths: (2 available, best #2, table Default-IP-Routing-Table, not =
> advertised to EBGP peer)
>   Advertised to non peer-group peers:
>   190.19.15.161=20
>   300, (Received from a RR-client)
>     210.10.10.1 (metric 2195456) from 190.19.15.161 (190.19.15.161)
>       Origin IGP, metric 0, localpref 100, valid, internal, synchronized
>       Community: no-export
>   300, (Received from a RR-client)
>     210.10.10.5 (metric 2195456) from 190.19.15.145 (190.19.15.145)
>       Origin IGP, metric 0, localpref 100, valid, internal, =
> synchronized, best
>       Community: no-export
>
> _______________________________________________________
> To unsubscribe from the CCIELAB list, send a message to
> [EMAIL PROTECTED] with the body containing:
> unsubscribe ccielab

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to