11-19-2008 05:58 AM - edited 03-04-2019 12:24 AM
What does this as-path list do, if appliead to a routemap outbound?
ip as-path access-list 70 permit ^$
ip as-path access-list 70 permit ^1234$
Thanks
Stephen
Solved! Go to Solution.
11-19-2008 06:05 AM
Stephen
Permits any routes with no AS ie. they originated in the local AS or an AS of 1234.
Jon
11-19-2008 06:05 AM
Stephen
Permits any routes with no AS ie. they originated in the local AS or an AS of 1234.
Jon
11-19-2008 06:07 AM
ah yes... makes perfect sense, and has the desired effect.
Thanks Jon,
Stephen
11-19-2008 06:07 AM
Stephen,
It allows paths with an empty AS PATH (locally originated prefixes) or paths that have been originated by and received from AS 1234.
Regards
11-20-2008 02:33 AM
Hello,
The entry that references ^1234$ allows all routes originated in neighboring AS 1234 only if the neighboring AS 1234 does not make use of prepend. If neighboring AS 1234 prepends its own AS one or more times, updates will not pass. ^1234$ means "only a single 1234 in AS path and nothing else". You need something like ^(1234_)+$ to allow all updates from neighboring AS 1234 under any circumstances.
Kind Regards,
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide