pstat field-add
Specifies the fields for which statistics on the number of packets sent to the CPU
will be collected.
Command Default
CPU packets statistics are not collected by default.
Parameters
Modes
Global configuration mode
Usage Guidelines
The system can be configured to collect statistics on packets destined for the CPU
based based on a set of specified fields. The
pstat field-add command specifies the fields for which packets will be counted.
Examples
device# configure terminal device(config)# pstat field-add l2-dest-mac device(config)# pstat field-add input-port device(config)# pstat field-add l2-dest-mac-type device(config)# pstat max 3 device(config)# pstat start device(config)# show pstat 11 input-port l2-dest-mac l2-dest-mac-type Count -------------------------------------------------------------- mgmt1 0100.5e00.0002 Multicast 19 11/1/7 0180.c200.0000 Multicast 10 2/1/7 0180.c200.000e Multicast 1 11/1/7 0180.c200.000e Multicast 1 mgmt1 0180.c200.0000 Multicast 10 mgmt1 cf4e.2445.0400 Multicast 19 mgmt1 778e.f8d4.00c0 Multicast 63 mgmt1 ffff.ffff.ffff Broadcast 23 -------------------------------------------------------------- Number of Entries = 8
History
| Release version | Command history |
|---|---|
| 08.0.90 | This command was introduced. |