From: Edwards, Andrew M (andrew.m.edwards@boeing.com)
Date: Fri Jul 23 2004 - 16:38:04 GMT-3
Curious if this would work?
show ip bgp reg-exp ^6000_77_[777-888]*_888$
Explicitly states to originate in 888, terminate in 6000, receive in
6000 from 77, and have ANY number of combinations of AS between 777 and
888 inclusive.
?
andy
-----Original Message-----
From: James [mailto:james@towardex.com]
Sent: Friday, July 23, 2004 11:59 AM
To: Sergio Jimenez Arguedas
Cc: ccielab@groupstudy.com
Subject: Re: AS-PATH REGEXP QUESTION!!!
> 3. The routes were injected into BGP by AS 888, and
> 4. The path can transit any combination of AS between AS 777 and AS
> 888, as well as a path from AS 777 to AS 888
>
>
> Why the sh ip bgp regexp ^6000_777(_.+)*_888$ displays the prefix
> 10.0.6.48/28 if this regexp only can match combinations between AS777
> and AS888.
Because that means "match ASNs between 777 and 888 if found".
Try... ^6000_(77[7-9]|7[8-9][0-9]|8[0-8][0-9])+$
see if that works for you... :-/
-J
-- James Jun TowardEX Technologies, Inc. Technical Lead Network Design, Consulting, IT Outsourcing james@towardex.com Boston-based Colocation & Bandwidth Services cell: 1(978)-394-2867 web: http://www.towardex.com , noc: www.twdx.net
This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:12:01 GMT-3