Re: IP AS-PATH ACL & Regular Expressions

From: Aamer Kaleem (kaleemaamer@yahoo.com)
Date: Fri Dec 20 2002 - 23:16:19 GMT-3


try this :

ip as-path access-list 1 permit _3_
route-map foo deny 10
match as-path 1
route-map foo permit 20

Aamer

--- Sage Vadi <sagevadi@yahoo.co.uk> wrote:
> Hi all!
>
> Currently I have -
>
> ip as-path access-list 1 permit _3_
> ~
> route-map foo permit 10
> match as-path 1
> ~
> neighbor x.x.x.x route-map foo in
>
> Which does what it is meant to do - ensure that the
> AS
> path has got a 3 in it's list.
>
> Q) How do I do the OPPOSITE - DENY any routes that
> have a 3 in the AS-PATH ???
>
> Can you show me how to set the route-map (deny or
> permit) and how to set the as-path acl (deny or
> permit). I've tried various permutations with little
> success.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> .
>



This archive was generated by hypermail 2.1.4 : Fri Jan 17 2003 - 17:21:50 GMT-3