From: Shaughn Smith (Shaughn.Smith@za.verizonbusiness.com)
Date: Wed Oct 22 2008 - 15:28:03 ARST
You can use the following
* = zero or more instances
+ = one or more instance
Then you could use the range functionality ie [] to determine what you
are going to match on
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Hobbs
Sent: Wednesday, October 22, 2008 7:12 PM
To: Cisco certification
Subject: BGP regexp - how to find x number or more occurrences of an AS
in the AS path
Suppose I wanted to find all routes that have the same AS number in a
row 8
or more times...is this possible using regexp?
The 8 could be any number (just not 0 or 1 which can use + or ?), I just
can't think of way to do 5 or more, 6 or more, etc...
thanks,
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:22 ARST