From: Salah ElShekeil (salah.elshekeil@gmail.com)
Date: Sun Mar 22 2009 - 14:53:50 ART
^XXX$ is more specific originated from XXX
_XXX$ the AS path from which the networks were injected by XXX
HTH
Salah
On Sun, Mar 22, 2009 at 8:45 PM, Timothy Chin <tim@1c-solutions.com> wrote:
> You would most likely use ^ASXX$ if your AS was directly connected to
> the AS in question. You would use _ASXX$ if you weren't directly
> connected.
>
> Tim
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Cisco Fanatic
> Sent: Sunday, March 22, 2009 1:41 PM
> To: ccielab@groupstudy.com
> Subject: BGP Filtering
>
> Hi All,
>
> If we have to learn only those prefixes that Originate in some AS ASXX.
> We can
> use ^$ and _XX$. In some workbooks I have seen one or the other being
> used. I
> have tested both and both are working (the way it should). Which one is
> better
> over the other.
>
> For example,
> !
> router bgp XX
> neighbor x.x.x.x filter-list 10 in
> !
> ip as-path access-list 10 deny _ASXX$
> ip as-path access-list 10 permit .*
> !
> *******************************************
> Or/And,
>
> !
>
> router bgp XX
>
> neighbor x.x.x.x filter-list 10 in
>
> !
>
> ip as-path access-list 10 deny ^ASXX$
> !
> *******************************************
>
>
> Yuri
>
> _________________________________________________________________
> Windows Live SkyDrive: Get 25 GB of free online storage.
> http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:06 ART