traffic-policy count

Configures a traffic policy and enables counting the number of bytes and the conformance level per packet.
Syntax
traffic-policy traffic-policy-def count
no traffic-policy traffic-policy-def count
Command Default

No traffic policy is applied.

Parameters
traffic-policy-def

Specifies the name of the traffic policy definition, in no more than seven alphanumeric characters.

Modes

Global configuration mode

Usage Guidelines

The no form of this command deletes a traffic policy definition.

Examples

This example configures a traffic policy named TPD and enables counting of bytes and conformance levels.

device#configure terminal
device(config)#traffic-policy TPD count