BGP Community

From: TAN CHOH KOON (tckoon@pc.jaring.my)
Date: Sun Sep 15 2002 - 02:07:25 GMT-3


Hi,

Here the senario from
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/icsbgp4.htm , regarding
the BGP community.

IF , I ONLY want to control the set up of community at Router C instead at
Router B, should the config at below (MY CONFIG#1) correctly define ??

                        (AS100) (AS300)
(A200)
150.10.0.0 |---- Router A ------- -----Router C ---------------Router
B -----------| 160.10.0.0
                                    2.2.2.2 2.2.2.1 3.3.3.1
3.3.3.3

Assume that you do not want Router C to propagate routes learned from Router
B to Router A. You can do this by setting the community attribute on updates
that Router B sends to Router C, as in the following configuration for
Router B:

!Router B
router bgp 200
network 160.10.0.0
neighbor 3.3.3.1 remote-as 300
neighbor 3.3.3.1 send-community
neighbor 3.3.3.1 route-map SETCOMMUNITY out
!
route-map SETCOMMUNITY permit 10
match ip address 1
set community no-export
!
route-map SETCOMMUNITY permit 20
!
access list 1 permit 0.0.0.0 255.255.255.255

-------------------------------------------------
MY CONFIG #1
-------------------------
!Router C
router bgp 300
network 170.10.0.0
neighbor 2.2.2.2 remote-as 100
neighbor 3.3.3.3 remote-as 200
neighbor 3.3.3.3 send-community
neighbor 3.3.3.3 route-map SETCOMMUNITY in
!
route-map SETCOMMUNITY permit 10
match ip address 1
set community no-export
!
route-map SETCOMMUNITY permit 20
!
access list 1 permit 0.0.0.0 255.255.255.255

Regards.
tckoon.



This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:52 GMT-3