cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
519
Views
5
Helpful
1
Replies

Logging ACL entry to Syslog server

networker99
Level 1
Level 1

I have a simple access-list configured on the outside of an ASA

access-list outside_in permit tcp any host x.x.x.x eq 80

access-list outside_in permit tcp any host x.x.x.x eq 443

access-list outside_in deny ip any any

Could someone please post a sample config showing how I can log all entries that hit the deny statement, and send them to a syslog server?

Thanks in advance

1 Reply 1

varrao
Level 10
Level 10

Hi,

You just need to add a "log" key word after the ACL and then it would be sent to your syslog server.

access-list outside_in deny ip any any log

Hope that helps,

Thanks,

Varun

Thanks,
Varun Rao
Review Cisco Networking for a $25 gift card