From: Antonio Soares (amsoares@netcabo.pt)
Date: Mon Dec 10 2007 - 21:45:03 ART
Try to remove the $ and see what happens.
http://www.cisco.com/en/US/docs/ios/12_2/termserv/configuration/guide/tcfaap
re_ps1835_TSD_Products_Configuration_Guide_Chapter.html
$ Matches the character or null string at the end of an input string.
Regards,
Antonio Soares
CCIE #18473 (R&S),CCNP,CCIP,JNCIA-ER,JNCIS-ER
http://pwp.netcabo.pt/amsoares/
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Athaide, Dwayne
Sent: segunda-feira, 10 de Dezembro de 2007 15:43
To: Cisco certification
Subject:
Hi
I am exp with regexp and don't quite follow how the following regexp only
matches the one route
Network Next Hop Metric LocPrf Weight Path
*> 172.16.1.0/24 10.10.10.5 0 600 620 610
i
*> 172.16.2.0/24 10.10.10.5 0 600 620 610
i
*> 172.16.3.0/24 10.10.10.5 0 600 620 610
i
*> 172.16.4.0/24 10.10.10.5 0 600 620 610
i
*> 192.168.1.0 10.10.10.5 0 600 620 i
R7#sho ip bgp regexp ^600_620(_[0-9])*$
Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 10.10.10.5 0 600 62
And would this regexp ^600(_[0-9]*)$ match all the network above. What am I
doing wrong as I can only get the 192.168.1.0 network matched
Thanks
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:30 ARST