ANNOUNCEMENT - The community will be down for maintenace this Thursday August 13 from 12:00 AM PT to 02:00 AM PT. As a precaution save your work.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
0
Helpful
3
Replies
Highlighted
Rising star

What will be the result of this as-path list

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

Everyone's tags (3)
3 REPLIES 3
Highlighted
Advisor

What will be the result of this as-path list

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.

Don't forget to rate helpful posts.
Highlighted
Rising star

Re: What will be the result of this as-path list

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

Highlighted
Advisor

What will be the result of this as-path list

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.

Don't forget to rate helpful posts.
Content for Community-Ad