Re: Regurlar expression confirmation

From: Frank (ocsic@web.de)
Date: Thu Nov 09 2006 - 07:17:14 ART


Michael Stout schrieb:

Hi,

well it depends from where you look from.

When you'r in AS54, outside means not originated locally
ip as-path access-list 1 deny ^$

When your in AS100 directly connected to AS54 and you get the path:

54
54 200 300

That means the path should not end with 54. So there must be something else
after 54 also. So then i would say:

ip as-path access-list 1 permit _54_.

would also work.

By the way, could you tell me what's the path from the DocCD to the
regex? :)

Frank

> Hello:
> Can i get some input on the accuracy of the following regurlar
> expressions, please?
>
> Going to network that were origionated in AS 54
>
> ip as-path access-list 1 permit _54$
>
> because, the origion of the route should be the end of the as-list
> Here 54 is the origion of 100 200 300 400 54.
>
> Going to networks outside of AS 54
>
> ip as-path access-list 2 permit _54 +
>
> because this list matches one or more instances of an AS that exists
> outside of AS-54.
> this list will match someting like 100 54 200 300, or 54 100 My reference
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ftersv_c/ftsappx/tcfaapre.htm
> Thank you.
>
> ------------------------------------------------------------------------
>
> Get today's hot entertainment gossip
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:45 ART