Applying the ACL Log Match Level
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Specifies the logging level to match for entries to be logged in
the ACL log (acllog). The number is a value from 0 to 7. The
default is 6.
Log messages are entered into the log if the logging
level for the ACL log facility (acllog) and the logging
severity level for the log file are greater than or equal
to the ACL log match log level setting.
Note
switch(config)#
acllog
match-log-level number
Step 2
(Optional) Saves the change persistently through reboots and
restarts by copying the running configuration to the startup
configuration.
switch(config)#
copy
running-config startup-config
Step 3
The following example shows how to apply the log match level for entries to be logged in the ACL log:
switch#
configure terminal
switch(config)#
acllog match-log-level 3
switch(config)#
copy running-config startup-config
Clearing Log Files
You can clear messages in the log file and the NVRAM.
Procedure
Purpose
Command or Action
Clears the access control list (ACL) cache.
switch#
clear logging ip access-list cache
Step 1
Verifying the ACL Logging Configuration
To display ACL logging configuration information, perform one of the following tasks:
Purpose
Command
Displays the TCAM sizes that will be applicable on
the next reload of the device.
switch#
show hardware access-list tcam region
Displays the IPv4 ACL configuration.
switch#
show ip access-lists
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
94
Configuring IP ACLs
Applying the ACL Log Match Level