From: mushtaq A. Khan (mak.ccie2b@gmail.com)
Date: Tue Aug 23 2005 - 22:54:51 GMT-3
All,
Can someone explain me the example as shown below. I don't see
set-community applied to the outbound updates to neighbor
171.69.232.50 and the local-as community attribute is used to filter
the routes. The only thing I noticed is that network 1.0.0.0 is being
advertised with Local-as community if it passes the ACL 1 and this
will prevent the advertisememnt of those routes by the BGP speakers
outside autonomous system 200.
Am I missing something here or cisco has missed something in this
example. Here is the url for your reference.
Example:
The next example shows how the route map named set-community is
applied to the outbound updates to neighbor 171.69.232.50 and the
local-as community attribute is used to filter the routes. The routes
that pass access list 1 have the special community attribute value
local-as. The remaining routes are advertised normally. This special
community value automatically prevents the advertisement of those
routes by the BGP speakers outside autonomous system 200.
router bgp 65000
network 1.0.0.0 route-map set-community
bgp confederation identifier 200
bgp confederation peers 65001
neighbor 171.69.232.50 remote-as 100
neighbor 171.69.233.2 remote-as 65001
!
route-map set-community permit 10
match ip address 1
set community local-as
Thanks,
Mushtaq
This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:01:20 GMT-3