set policy accounting (S-, K-Series)

Use this command to enable or disable policy accounting, which controls the collection of classification rule statistics. This function is enabled by default.

Syntax

set policy accounting {enable | disable}

Parameters

enable | disable Enables or disables the policy accounting function.

Defaults

None.

Mode

All command modes.

Usage

Use the port-hit option of the command on page show policy rule to display classification rule hits that are collected when policy accounting is enabled.

Example

This example shows how to disable policy accounting:

System(rw)->set policy accounting disable