Best way to match this AS Path

From: Cielieska Nathan (ncielieska@gmail.com)
Date: Thu Jan 24 2008 - 15:45:36 ARST


Guys,

Need to match the following

AS 200 3342 317 340 340 302
AS 200 100

Here is what i came up with.. i'm wondering if there is a simpler way
to signify the AS string above?

ip as-path access-l 1 permit ^200_3[0-9]+_3[0-9]+_3[0-9]+_3[0-9]+_3
[0-9]+$
ip as-path access-l 1 permit ^200_100$

And what would be the most efficient way to do:

AS 200 300 300 300 300 300

Regards,
Nate



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:01 ARST