Re: IEWBv2 Lab 9 - 6.4 BGP filter

From: Chris Lewis (chrlewiscsco@gmail.com)
Date: Thu Apr 13 2006 - 10:33:25 GMT-3


I'd suggest going to http://www.nanog.org/lookingglass.html picking a
route-server and trying it out with the command sho ip bgp regexp, followed
by your regular expression then seeing what makes it through to the display
and what does not.

If you pick the Telus server for example, it's neighboring AS is 852, so
look at

sho ip bgp regexp ^852_[0-9]*$
and
sho ip bgp regexp ^852(_[0-9]+)?$

Chris

On 4/13/06, Wang, Ting (Taylor) <wangting@avaya.com> wrote:
>
> Hi Group,
>
>
> IEWBv2 lab 9 - 6.4 : "configure R6 to only accept prefix from BB1 that
> have been originated by themselves and their directly connected
> customers."
> WB Solution:
> R6:
> router bgp 100
> neighbor 54.2.1.254 filter-list 25 in
> !
> ip as-path access-list 25 permit ^54(_[0-9]+)?$
>
>
> I have another solution for regexp:
> ip as-path access-list 25 permit ^54_[0-9]*$
>
> Is it totally equivalent to the WB solution, and meet the requirement?
>
> Thanks,
>
> Taylor
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:57 GMT-3