From: Prakash H Somani (pdsccie@xxxxxxxxxxxxxx)
Date: Tue Jul 09 2002 - 12:03:29 GMT-3
Hi nick,
No-advertising may not be the right way...because then routes will
not be passed on to valid iBGP peers also...
One should do this...
3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#router bgp 100
r3(config-router)#exit
r3(config)#route-ma
r3(config)#route-map test per
r3(config)#route-map test permit 10
r3(config-route-map)#set commu
r3(config-route-map)#set community ?
<1-4294967295> community number
aa:nn community number in aa:nn format
additive Add to the existing community
internet Internet (well-known community)
local-AS Do not send outside local AS (well-known
community)
no-advertise Do not advertise to any peer (well-known
community)
no-export Do not export to next AS (well-known
community)
none No community attribute
<cr>
r3(config-route-map)#set community no-adve
r3(config-route-map)#set community no-ex
r3(config-route-map)#set community no-export
regards...Prakash
On Tue, 09 Jul 2002 Nick Shah wrote :
>There are a more than couple of ways to do this... I will quote
>one
>
>Say RtrA (AS1)---- RtrB (AS2)----- RtrC(AS3)
>
>You dont want RtrB to be a transit AS for prefixes advertised
> from RtrA,
>essentially send prefixes from RtrA with a no-export Community.
>
>Basic idea is *not advertising* RtrA's prefixes to RtrC (and the
>other way
>around), so you can sure find more than this way to acheive this.
>(Let me
>know if you have any difficulty)
>
>rgds
>Nick
>----- Original Message -----
> From: "John White" <jan_white7@hotmail.com>
>To: <ccielab@groupstudy.com>
>Sent: Tuesday, July 09, 2002 1:59 PM
>Subject: As Transit
>
>
> > Hi Guys,
> > I'm doing Cisco Aset lab.One of question is to prevent our AS
> from
>becoming
> > Transit AS, but your not allowed to use AS path filtering.
> > Learning routes from outside shuould be still possible.
> > Somehow I can't think of anything else. Distribution
>list?Community list?
> > Thanks.
> > Jan
> >
> >
> >
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:23 GMT-3