Name
ip accounting-list — global
Synopsis
ip accounting-listaddress mask
no ip accounting-listaddress mask
Configures
An accounting filter
Default
None
Description
This command defines an IP address
and wildcard mask
for use as an accounting filter. Once a filter has been created, traffic is logged only if it matches the filter. If an IP address fails to match this filter, it is considered a transit IP packet and is logged to a separate table. See
ip accounting-transits
.
Example
The following command logs traffic to and from the 10.10.0.0 network:
ip accounting-list 10.10.0.0 0.0.255.255
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.