Configuring The Acl Logging Cache; Applying Acl Logging To An Interface - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring the ACL Logging Cache

Configuring the ACL Logging Cache
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
The following example show how to set the maximum number of log entries to 5000, the interval to 120
seconds, and the threshold to 500000:
switch# configure terminal
switch(config)# logging ip access-list cache entries 5000
switch(config)# logging ip access-list cache interval 120
switch(config)# logging ip access-list cache threshold 500000
switch(config)# copy running-config startup-config

Applying ACL Logging to an Interface

Before You Begin
• Create an IP access list with at least one access control entry (ACE) configured for logging.
• Configure the ACL logging cache.
• Configure the ACL log match level.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
110
Command or Action
switch# configure terminal
switch(config)# logging ip
access-list cache entries
num_entries
switch(config)# logging ip
access-list cache interval seconds
switch(config)# logging ip
access-list cache threshold
num_packets
switch(config)# copy
running-config startup-config
Configuring System Message Logging
Purpose
Enters global configuration mode.
Sets the maximum number of log entries cached in
software. The range is from 0 to 1000000 entries. The
default value is 8000 entries.
Sets the number of seconds between log updates. Also if
an entry is inactive for this duration, it is removed from
the cache. The range is from 5 to 86400 seconds. The
default value is 300 seconds.
Sets the number of packet matches before an entry is
logged. The range is from 0 to 1000000 packets. The
default value is 0 packets, which means that logging is not
triggered by the number of packet matches.
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents