BGP Well-know Community

From: spycharlies@hotmail.com
Date: Wed Aug 09 2006 - 02:06:57 ART


Hey Guys,

I think i might be mixing these 2 communities up. ("no-advertise" & "no-export")

B4 now, i'd always thought "no-advertise" is used within thesame AS, while
"no-export" is used btw different AS.

But i was doing some config lately, and i noticed both communities does thesame funtion.

===================================================================
r1(as100) peers with r2(as200), while r2 peers with r3(as300)

My goal was to advertise network((192.10.100.x/24) on r1. This network is
passed onto r2 via BGP, but r2 shld'nt pass it on to r3.

r1#
ip as-path access-list 1 permit ^$
!
route-map [N0_EXPORT][NO_ADVERTISE] permit 10
 match as-path 1
 set community [no-export][no-advertise]
!
route-map [N0_EXPORT][NO_ADVERTISE] permit 1000
!
router bgp 100
..network 192.10.100.0 mask 255.255.255.0
..neighbor 192.10.123.2 remote 200
..neighbor 192.10.123.2 send-community
..neighbor 192.10.123.2 route-map [N0_EXPORT][NO_ADVERTISE] out

My question is, are there situations where u would wanna use
no-export instead of no-advertise or vise-versa??

cheers

Uyota



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:56 ART