Re: BGP REGEX Help

From: Hong Chan (howard.chan34@gmail.com)
Date: Wed Dec 10 2008 - 03:10:46 ARST


is you are using .2025$, then it will match your case (12025, 22025, 32025)
_2025$ match (space)2025 or ,2025
using ^2025$ only match "first AS is 2025.
http://www.cisco.com/en/US/docs/ios/12_2/termserv/configuration/guide/tcfaapre_ps1835_TSD_Products_Configuration_Guide_Chapter.html#wp1022889

2008/12/9, Tolulope Ogunsina <togunsina@gmail.com>:
>
> The logic is correct
>
>
> On 12/8/08, Pavel Bykov <slidersv@gmail.com> wrote:
> > It will match only routes generating in AS 2025.
> > "_" means any delimiter, like white space, beginning, end, etc.
> > Any character is dot, or "."
> >
> > On Mon, Dec 8, 2008 at 11:20 AM, Sachin D <networker.ccie@gmail.com>
> wrote:
> >
> >> Hi All
> >>
> >> Need some help on Regex.
> >>
> >> I want to permit route originated only from AS 2025 only. I am using
> the
> >> Regex in the filter list as _2025$, which means the first AS is 2025, I
> >> have
> >> a bit, confusion will this match all routes generating from AS 12025,
> >> 22025, 32025............ also. or only routes generating from AS 2025.
> >>
> >> Coz as per DOC CD "_" means match anything before the digit. So does it
> >> mean
> >> match only the AS before the given AS or it can prepend any number of
> >> digits in the given AS also........
> >>
> >>
> >> Regards
> >> Sachin
> >>
> >>
> >> Blogs and organic groups at http://www.ccie.net
> >>
> >> _______________________________________________________________________
> >> Subscription information may be found at:
> >> http://www.groupstudy.com/list/CCIELab.html
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Pavel Bykov
> > ----------------
> > Don't forget to help stopping the braindumps, use of which reduces value
> of
> > your certifications. Sign the petition at http://www.stopbraindumps.com/
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Best Regards,
>
> Tolulope.
>
>
> 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 : Thu Jan 01 2009 - 12:53:08 ARST