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

Access list Log

londint
Level 1
Level 1

I want to be able to briefly log deny message going via a router through access list.

I have done this before and now have forgotten

Is it access list 10 deny any any log?

I just need to be sure? I need to see what is being denied.

Thanks

1 Accepted Solution

Accepted Solutions

I understood you as meaning you wanted to log deny messages from an access-list you have applied in a router? Is that correct? If you already have an access-list 10 which is applied to interface, adding the above command to the end of acl will log all of the denies. If you add an access-list 10 and apply it to an interface, it will deny all traffic.

View solution in original post

3 Replies 3

acomiskey
Level 10
Level 10

yes, access-list 10 deny ip any any log

Do I need to apply it to an interface?

I understood you as meaning you wanted to log deny messages from an access-list you have applied in a router? Is that correct? If you already have an access-list 10 which is applied to interface, adding the above command to the end of acl will log all of the denies. If you add an access-list 10 and apply it to an interface, it will deny all traffic.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card