Enabling ACL logging on the switch
Procedure
- If you are using a server,
use the
logging <ip-addr>
command to configure the server IPv4 address. Ensure that the switch can access any server you specify. - Use
logging facility
to enable the logging for operation. - Use the
debug destination
command to configure one or more log destinations. Destination options includelogging
andsession
. For more information on debug, see the “Troubleshooting” section of the management and configuration guide for your switch. - Use
debug acl
ordebug all
to configure the debug operation to include ACL messages. - Configure one or more ACLs
with the
deny
orpermit
action and thelog
option.