Access list Log

Answered Question
Mar 2nd, 2007

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

I have this problem too.
0 votes
Correct Answer by acomiskey about 9 years 7 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
acomiskey Fri, 03/02/2007 - 10:55

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.

Actions

This Discussion