BGP AS-PATH

From: Ahmed Mamoor Amimi (mamoor@xxxxxxxx)
Date: Wed Apr 03 2002 - 19:28:30 GMT-3


   
I know this is also beet to death but please let me konw if all the statement
under is correct :

^ $ are used to match the begining and end of expression
* + ? are used to repeat the pattrens

ba?b = bab or bb

^$ = local orignated route
.* = all route
^300$ = orignating from 300
^300_ = 300 routes and forward AS routes eg: 300,400,500
_300$ = 300 routes and backward AS routes eg: 100,200,300
_300_ = 300 routes and all routes it passes eq: 100,200,300,400,500 (if
   all AS passes through it.

^300 200$ = routes from AS 300 and 200 or 200 and 300
^300[1-9]$ = routes that looks like 3001,3002,3003... till 3009
^300?1$ = routes that looks like 301 or 3001

Please correct me if i am wrong...

-Mamoor



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:53 GMT-3