From: Gary Lileikis (glileikis@rogers.com)
Date: Fri Nov 22 2002 - 10:42:41 GMT-3
Does this do it?
ip as-path access-list 4 deny ^(1057_?)?(1057_?)?$
ip as-path access-list 4 per .*
Regards,
Gary
-----Original Message-----
From: Jeongwoo Park [mailto:jpark@wams.com]
Sent: Friday, November 22, 2002 1:21 AM
To: 'ccielab@groupstudy.com'
Subject: Regular expression
Guys!!
Isn't there any unnecessary expression?
This router's AS number is 1057.
neighbor 1.2.3.4 filter-list 4 out
!
ip as-path access-list 4 deny ^$
ip as-path access-list 4 deny ^1057$
ip as-path access-list 4 deny ^1057_1057$
ip as-path access-list 4 permit .*
Thanks,
JP
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:08 GMT-3