From: gladston@br.ibm.com
Date: Fri Aug 27 2004 - 18:08:44 GMT-3
I undertood that this expression matches AS starting with 1 and ending with any number; should have two ASs. It matches 1_6 or 1_7 or 1_9...
When changing to ^1_?[0-9]*$ it matches 1 and 1_6.
Any tip?
r3#sh ip bgp regexp ^1 [0-9]*$
BGP table version is 32, local router ID is 172.16.3.3
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
* i192.168.40.0 172.16.34.4 100 0 1 6 i
*> 172.16.23.2 0 1 6 i
r3#
r3#sh ip bgp regexp ^1_[0-9]*$
BGP table version is 32, local router ID is 172.16.3.3
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
* i150.1.0.0 172.16.34.4 0 100 0 1 i
*> 172.16.23.2 0 1 i
* i192.168.40.0 172.16.34.4 100 0 1 6 i
*> 172.16.23.2 0 1 6 i
This archive was generated by hypermail 2.1.4 : Fri Sep 03 2004 - 07:02:49 GMT-3