enable accounting (ACL)
Enables accounting for MAC ACLs at Layer 2, IPv4 ACLs, or IPv6 ACLs.
Command Default
By default, accounting is not enabled.
Parameters
Modes
access-list configuration sub-mode (IPv4, IPv6, MAC)
Usage Guidelines
The
no form of the command disables accounting for the specified MAC ACL.
Examples
The following example creates an IPv6 access-list and enables accounting.
device# configure terminal device(config)# ipv6 access-list aclv6log device(config-ipv6-access-list aclv6log)# enable accounting device(config-ipv6-access-list aclv6log)# exit device(config)#
The following example enables accounting for the MAC ACL mac123.
device# configure terminal device(config)# mac access-list mac123 device(config-macl-mac123)# enable accounting
History
| Release version | Command history |
|---|---|
| 08.0.95 | This command was introduced. |