Brocade ICX 6650 Security Configuration Guide 107
53-1002601-01
ACL logging
The above commands create ACL entries that include the log option, enable ACL logging on
interface e 1/1/4, then bind the ACL to interface e 1/1/4. Statistics for packets that match the
deny statements will be logged.
Syntax: ACL-logging
The ACL-logging command applies to IPv4 devices only. For IPv6 devices, use the logging-enable
command as shown in the following example.
The following shows an example configuration on an IPv6 device.
Brocade(config)# ipv6 access-list ACL_log_v6
Brocade(config-ipv6-access-list ACL_log_v6)# logging-enable
Brocade(config-ipv6-access-list ACL_log_v6)# deny ipv6 host 2001:DB8::1 any log
Brocade(config-ipv6-access-list ACL_log_v6)# interface ethernet 1/3/1
Brocade(config-if-e10000-1/3/1)# ipv6 traffic-filter ACL_log_v6 in
The above commands create ACL entries that include the log option, then bind the ACL to interface
e 1/3/1. Statistics for packets that match the deny statement will be logged.
Syntax: logging-enable
NOTE
The logging-enabled command applies to IPv6 devices only. For IPv4 devices, use the ACL-logging
command as shown in the previous example.
Displaying ACL Log Entries
The first time an entry in an ACL permits or denies a packet and logging is enabled for that entry,
the software generates a Syslog message and an SNMP trap. Messages for packets permitted or
denied by ACLs are at the warning level of the Syslog.
When the first Syslog entry for a packet permitted or denied by an ACL is generated, the software
starts an ACL timer. After this, the software sends Syslog messages every five minutes. If an ACL
entry does not permit or deny any packets during the timer interval, the software does not generate
a Syslog entry for that ACL entry.
NOTE
For an ACL entry to be eligible to generate a Syslog entry for denied packets, logging must be
enabled for the entry. The Syslog contains entries only for the ACL entries that deny packets and
have logging enabled.
To display syslog entries, enter the show log command from any CLI prompt: