Re: regex question for bgp

From: James (james@towardex.com)
Date: Mon Oct 11 2004 - 23:49:05 GMT-3


On Mon, Oct 11, 2004 at 07:34:15PM -0700, John Matus wrote:
> how would you solve the following requirement?
>
> R1 is in AS 1 and are connected to a bb router in AS 5. you want to implement
> a filtering policy on R1 to only accept routes that come from either AS 5 or
> an AS connected directly to AS 5. so AS 5 can be in the as path as well as
> one more AS. how would you create a regex to satisfy this requirement? i'm
> pretty stumped <not a regex pro>

^5_[0-9]*$

HTH,
-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 : Sat Nov 06 2004 - 17:11:46 GMT-3