From: Narbik Kocharians (narbikk@gmail.com)
Date: Thu Nov 29 2007 - 19:23:06 ART
By the way the _ does not match everything, think of being in a
confederation and what if you wanted to match on all the routes from
your neighbor in 65501 advertised to you, you would need to do the
following:
^\(65501_
Note the \ remove special meaning of character, remember in a confederation
the as-path shows up in parenthises.
As far as prepending, there are two scenarios, if you wanted to allow or
deny your existing and *future* directly connected neighbors to prepend,
then you need to do the following:
^([0-9]+)(_\1)*$
But if you wanted to allow/deny your existing neighbor in AS 200 to perform
prepending, then you would need to do the following:
^200(_200)*$
-- Narbik Kocharians CCIE# 12410 (R&S, SP, Security) CCSI# 30832 www.Net-WorkBooks.com
This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:32 ART