RE: BGP regular exp [bcc][faked-from]

From: marvin greenlee (marvin@ccbootcamp.com)
Date: Wed Nov 03 2004 - 21:04:06 GMT-3


^2__[0-9]*$

The * will match 0 or more occurrences, where the + will match one or more.

- Marvin Greenlee, CCIE#12237
Network Learning Inc
marvin@ccbootcamp.com
www.ccbootcamp.com (Cisco Training)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Cisco Net
Sent: Wednesday, November 03, 2004 3:48 PM
To: Group Study
Subject: BGP regular exp [bcc][faked-from]
Importance: Low

How to make one line regular expression that will match the routes
originated(directly connected to your AS) from AS 2 OR originated in
all the customers AS that are directly connected to AS 2.

2 things
-Routes originated in AS2 (and it is directly connected to you
 so ^2
-Originated in AS2's directly connected customer ASs
so ^2_[0-9]+$

How to make as one line ???
Regards
Cert



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:37 GMT-3