RE: regular expression once more

From: Connie Nie (CNie@EPLUS.com)
Date: Thu Jul 17 2003 - 13:31:23 GMT-3


Pete,

I tried that, does not seem to work:

r2#b
BGP table version is 12, local router ID is 210.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 172.16.0.0/24 172.31.12.1 0 100 500 i
*> 172.16.0.0 172.31.12.1 0 100 500 ?
*> 172.16.1.0/24 172.31.12.1 0 100 500 i
*> 172.16.2.0/24 172.31.12.1 0 100 500 i
*> 172.16.3.0/24 172.31.12.1 0 100 500 i
*> 172.31.0.0 172.31.12.1 0 0 100 ?
*> 192.168.1.0 172.31.12.1 0 100 500 ?
*> 192.168.2.0 172.31.12.1 0 100 500 ?
*> 192.168.3.0 172.31.12.1 0 100 500 ?
*> 192.168.4.0 172.31.12.1 0 100 500 ?
*> 210.1.1.0 172.31.12.1 0 0 100 ?
r2#show ip bgp regexp _[^100]$

r2#

-----Original Message-----
From: Pete Yeargin (pyeargin) [mailto:pyeargin@cisco.com]
Sent: Thursday, July 17, 2003 11:05 AM
To: Connie Nie; ccielab@groupstudy.com
Subject: RE: regular expression once more

Connie,

        What about "ip as-path access-list 1 permit _[^100]$"?

Pete

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Connie Nie
Sent: Thursday, July 17, 2003 11:55 AM
To: ccielab@groupstudy.com
Subject: regular expression once more

Anyone know how can you match something like "routes NOT originated from
AS 100"---------I know you can deny those come from as 100 and permit
the rest of it, but can it be done in one expression?
 
Thanks,
 
Connie



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:43 GMT-3