From: Gregg Malcolm (gregg.malcolm@gmail.com)
Date: Sun Feb 03 2008 - 13:11:41 ARST
Try:
router bgp X
neighbor z.z.z.z route-map PROVIDER in
route-map PROVIDER permit 10 match as-path 1
ip as-path access-list 1 permit ^Y(_[0-9]+)?$
Here's a great link: http://www.nanog.org/mtg-0206/ppt/philip/
CNTL F for "partial"
HTH - Gregg
On Feb 2, 2008 8:11 PM, Tapas Das <tapas_75@hotmail.com> wrote:
> I am ISP "X" with AS No: "X", ISP "Y" is directly connected to me with AS
> No:
> "Y"
>
> I need to rcv routes only from ISP "Y" and the AS's directly connected to
> "Y".
> I don't want to rcv any other routes.
>
> wht is the best way to do this.
>
>
> Thanx in Advance.
>
>
> _________________________________________________________________
> Post ads for free - to sell, rent or even buy.www.yello.in
> http://ss1.richmedia.in/recurl.asp?pid=186
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:47 ARST