pstat field-delete

Removes the specified fields from the collection of CPU packet statistics.
Syntax
pstat field-delete { input-port | l2-dest-mac |l2-dest-mac-type|l2-source-mac}
Command Default

CPU packets statistics are not collected by default.

Parameters
input-port
Specifies that CPU packets based on the inbound Ethernet port will not be counted.
l2-dest-mac
Specifies that CPU packets based on the Layer 2 destination MAC address will not be counted.
l2-dest-mac-type
Specifies that CPU packets based on the Layer 2 destination MAC type will not be counted. Values include broadcast, unicast, or multicast.
l2-source-mac
Specifies that CPU packets based on the Layer 2 source MAC address will not be counted.
Modes

Global configuration mode

Usage Guidelines

The system can be configured to collect statistics on packets destined for the CPU based on a set of specified fields. This command can be used to remove fields from the collection of CPU packet statistics.

Examples

The following command will stop the collection of CPU packet statistics based on input-port.

device(config)# pstat field-delete input-port
History
Release version Command history
08.0.90 This command was introduced.