From: David Prall (dcp@dcptech.com)
Date: Wed Oct 22 2008 - 15:49:26 ARST
Sh ip bgp regexp 65000_[65000]+ should give you 2 or more of AS 65000. Just
use the 65000_ over and over / 7 times, not real pretty though.
David
-- http://dcp.dcptech.com> -----Original Message----- > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of > Hobbs > Sent: Wednesday, October 22, 2008 1: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 > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html
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