Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)
New Member

logs for a specific access-list

hello,

is there any way to send logs to a syslog server for only a specific access-list?

thanks

1 REPLY

Re: logs for a specific access-list

Hi Celso,

The only way I can think of to do this would be to set the specific access-list you want to send to your syslog server to level 0 (emergencies). Then, you would log at the emergencies level for your syslog server. Since this level does not generate any syslogs normally, you would only see syslogs generated by your ACL. So, the configuration would look something like this:

access-list permit ip any any log emergencies

logging trap emergencies

logging host inside 10.1.1.1

Other than that, there is no direct way to do this with the logging commands.

Hope that helps.

-Mike

111
Views
0
Helpful
1
Replies
CreatePlease to create content