IP Accounting 101
Enabling IP Accounting
R(config-if)# ip accounting
! This command defaults to:
R(config-if)# ip accounting output-packetsR(config-if)# ip accounting access-violations
! Works for both incoming and outgoing packetsR(config-if)# ip accounting mac-address {input|output}R(config-if)# ip accounting precedence {input|output}System wide options
R(config)# ip accounting-list HOST WILDCARD
! Limits the hosts for which accounting is enabled
R(config)# ip accounting-threshold MAX-ENTRIES
!Limits the max number of accounting entries
R(config)# ip accounting-transits COUNT
!Limits the number of transit entries
! Transit entires are those not matched by the accounting-listMonitoring IP Accounting
Last updated