IEWBv2 Lab 9 - 6.4 BGP filter

From: Wang, Ting \(Taylor\) (wangting@avaya.com)
Date: Thu Apr 13 2006 - 04:12:38 GMT-3


Hi Group,

 
IEWBv2 lab 9 - 6.4 : "configure R6 to only accept prefix from BB1 that
have been originated by themselves and their directly connected
customers."
WB Solution:
R6:
router bgp 100
neighbor 54.2.1.254 filter-list 25 in
!
ip as-path access-list 25 permit ^54(_[0-9]+)?$

I have another solution for regexp:
ip as-path access-list 25 permit ^54_[0-9]*$

Is it totally equivalent to the WB solution, and meet the requirement?

Thanks,

Taylor



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:57 GMT-3