cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
410
Views
0
Helpful
3
Replies

What will be the result of this as-path list

mahmoodmkl
Level 7
Level 7

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

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

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.

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

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.
Review Cisco Networking products for a $25 gift card