From: CCIE KH49279 (ccie_lab@inetiq.com)
Date: Thu Apr 13 2006 - 11:33:15 GMT-3
It will pull out the networks as you would expect for this particular lab.
But with this particular regex you are saying take 0 or more instances of
"54_[0-9]" which could also yield 54_54 and would not yield 54_54_299 or
something similar if there was a prepended path. I would basically say make
sure that there is no caveat based upon the lab requirement. Had their lab
specified no as 54 prepended routes are allowed, then your regex would not
have worked.
wayne
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Wang, Ting (Taylor)
Sent: Thursday, April 13, 2006 3:13 AM
To: CCIE Group Study (E-mail)
Subject: IEWBv2 Lab 9 - 6.4 BGP filter
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