RE: Regular expression for BGP

From: cebuano (cebu2ccie@cox.net)
Date: Sun Nov 10 2002 - 00:44:41 GMT-3


You might also look at this book, it's on Amazon.
Mastering Regular Expressions by Jeffrey E.F. Friedl
Published by O'Reilly & Associates

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
syv
Sent: Saturday, November 09, 2002 12:09 PM
To: Franck ccie
Cc: ccielab@groupstudy.com
Subject: Re: Regular expression for BGP

On Saturday, November 09, 2002, Franck ccie wrote:

-----Original Message-----
Fc> I'm looking for a good site giving a good explanation of
Fc> regular expression for BGP ..

[0-9]* Matches any single AS number. This is the wild card for an
AS
_.* Matches everything [permit any/all]
_100_ Any route going through AS100
_100 200_ Passed through 100 and 200 in that order
_100$ Any route originated in AS100
^100$ Only routes originated in AS100 that did not pass through
any other AS
^100_ Only routes received from AS100, anything else behind
^100 .* Only routes received from AS100, anything else behind
[alternative]
^$ Originated from this AS
( .*) matches a space plus a AS.
( .*)* matches a space plus a AS or a null string.
? To type ?: either Ctrl-V or Esq-Q

-- 
Thanks
syv@911networks.com


This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:22:56 GMT-3