03-25-2021 12:13 PM
HI,
i have ASA 5555 with below configuration for logging.
logging enable
logging timestamp
logging buffered informational
logging trap informational
logging history errors
logging asdm informational
logging facility 23
logging device-id hostname
logging host inside x.x.x.x
The is no log configured at the end of ACL
For ex : Access-list ACL1 extended permit tcp object-group inside object-group DMZ eq domain
However i still see hitcounts on it.
My understanding was ASA will not show hitcounts if "log" is not configured at end of ACL.
Message id 106023 generated which doesnt have hitcount.
If log is configured at end of each ACL,
Solved! Go to Solution.
03-25-2021 01:49 PM
Cisco asa as you know main function is to act as a firewall. either you set the command log or not it will show you show much hitcount come to the acl.
however the log command can be come in play in different scenarios example Only ACEs in the access list generate logging messages; the implicit deny at the end of the access list does not generate a message. If you want all denied traffic to generate messages, add the implicit ACE manually to the end of the access list, as shown in the following example
(config) access-list TEST deny ip any any log
If you enter the log option without any arguments, you enable syslog message 106100 at the default level (6) and for the default interval (300 seconds). See the following options:
03-25-2021 01:49 PM
Cisco asa as you know main function is to act as a firewall. either you set the command log or not it will show you show much hitcount come to the acl.
however the log command can be come in play in different scenarios example Only ACEs in the access list generate logging messages; the implicit deny at the end of the access list does not generate a message. If you want all denied traffic to generate messages, add the implicit ACE manually to the end of the access list, as shown in the following example
(config) access-list TEST deny ip any any log
If you enter the log option without any arguments, you enable syslog message 106100 at the default level (6) and for the default interval (300 seconds). See the following options:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide