11-20-2012 10:36 PM - edited 03-07-2019 10:10 AM
Hi,
Can someone please help me understand the result of below as-path list.
ip path access list 6 deny _35$
and
ip as-path access-list 6 deny ^35$
Will they result both in denying routes orginating from AS 35.
Thanks
11-20-2012 10:43 PM
Hi,
1st one will deny updates originated in AS 35 and having traversed any number of ASes and second one will deny updates
coming from AS 35 and originated in AS35.
Regards.
Alain
Don't forget to rate helpful posts.
11-20-2012 10:57 PM
Hi,
thanks for the reply.
My intention is deny any routes originating from this AS so will the as path-list will do the job..?
Thanks
11-20-2012 11:34 PM
Hi,
so do this:
ip path access list 6 deny _35$
ip as-path access-list permit .*
router bgp xxx
neigh x.x.x.x filter-list 6 in
Regards.
Alain
Don't forget to rate helpful posts.
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