ip cef accounting

To enable network accounting of CEF, use the ip cef accounting global configuration command. To disable network accounting of CEF, use the no form of this command.

ip cef accounting [per-prefix] [non-recursive]

no ip cef accounting [per-prefix] [non-recursive]

Syntax Description
per-prefix (Optional) Enables the collection of the number of packets and bytes express forwarded to a destination (or prefix).
non-recursive (Optional) Enables accounting through non-recursive prefixes. For prefixes with directly connected next hops, enables the collection of the number of packets and bytes express forwarded through a prefix.

Default

Accounting is disabled by default.

Command Mode

Global configuration

Usage Guidelines

Get Cisco IOS 12.0 Switching Services 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.