clear policy-map-counters

Clears the policy map counters.

Syntax

clear policy-map-counters [ control-plane [ policy-map-name ]]| [ interface ethernet slot/port ] [ in | out ]

Parameters

control-plane [ policy-map-name ]
Clears the control-plane policy map counters. You can optionally enter the name of the policy-map name.
interface
Specifies an interface.
ethernet
Represents a valid, physical Ethernet type for all available Ethernet speeds.
slot/port
Specifies a slot and port number.
in
Specifies clearing the ingress counters.
out
Specifies clearing the egress counters.

Modes

Privileged EXEC mode

Usage Guidelines

Use the clear policy-map-counters command without any keyword options to clear all of the policy map counters.

Examples

To clear the control-plane policy map counters, use the following command:
device# clear policy-map-counters control-plane
To clear the policy map counters for a specific interface use the following command:
device# clear policy-map-counters interface ethernet 2/2