RE: regular expression once more

From: Connie Nie (CNie@EPLUS.com)
Date: Thu Jul 17 2003 - 19:03:59 GMT-3


That's interesting. How come it does not work on mine? Could it be
something IOS related? I am running 12.2(1d) connie

r2#sh ip bgp quote-regexp [^(100)]$

r2#sh ip bgp quote-regexp [^(500)]$

r2#sh ip bgp quote-regexp _[^(500)]$

r2#sh ip bgp quote-regexp _[^(100)]$
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 ?

-----Original Message-----
From: Jonathan V Hays [mailto:jhays@jtan.com]
Sent: Thursday, July 17, 2003 4:02 PM
To: 'Pete Yeargin (pyeargin)'; 'CCIEStudy'; 'Alvarez, Rolando [NCSUS]';
'Chen Kwong Wai William'; Connie Nie; ccielab@groupstudy.com
Subject: RE: regular expression once more

Pete,

That works!

r2#sh ip bgp
BGP table version is 3, local router ID is 10.1.1.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
*> 99.99.99.0/24 10.1.1.1 0 0 9 100 i
*> 130.108.1.0/24 10.1.1.1 0 0 9 i
r2#sh ip bgp quote-regexp _[^(100)]$
BGP table version is 3, local router ID is 10.1.1.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
*> 130.108.1.0/24 10.1.1.1 0 0 9 i
r2#

Thanks,

Jonathan

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Pete Yeargin (pyeargin)
> Sent: Thursday, July 17, 2003 4:39 PM
> To: 'Jonathan V Hays'; 'CCIEStudy'; 'Alvarez, Rolando
> [NCSUS]'; 'Chen Kwong Wai William'; 'Connie Nie';
> ccielab@groupstudy.com
> Subject: RE: regular expression once more
>
>
> As mentioned before, I would try the following with the parentheses
> added in:
>
> _[^(100)]$



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