robertson.michael Sun, 09/07/2008 - 17:53
User Badges:
  • Silver, 250 points or more

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

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

Hope that helps.



This Discussion