Reference Guide

Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.3.11.1 Introduced on the Z9000.
8.1.1.0 Introduced on the ES-Series.
clear hardware
Clear statistics from a specified hardware component.
C9000 Series
Syntax
clear hardware {cp {cpu {data-plane | i2c statistics | sata-
interface}} | cp-switch {counters} | linecard slot-id {counters
| cpu {data-plane | i2c | sata-interface} statistics} | hg-
stats| unit unit-num {counters} | party-bus {counters} | pe pe-
id stack-unit unit-number {counters | cpu | stack—port | unit}
| rp {cpu {data-plane | i2c | sata-interface} statistics} | sfm
sfm-unit-num {counters}}
Parameters
cp Enter the keywords cp with a command option to clear the
hardware statistics for the Control Processor. The command
options are:
cpu data-plane statistics: Clears data-plane
statistics, including the high-Gigabit Ethernet (HiGig)
port statistics with input/output counters to which the
stacking module is connected.
cpu i2c statistics: Clears active i2c-address
statistics.
cpu sata-interface statistics: Clears sata-
interface error counter statistics.
cp-switch Enter the keyword cp-switch with a command option to
clear the hardware statistics for control-plane and protocol
control traffic. The command options are:
counters: Clears the counters for control-plane and
protocol control packets to troubleshoot an error
condition.
linecard slot-id Enter the linecard slot-id parameters with a command
option to clear the hardware statistics for a specified switch
line card. The range of slot IDs is from 0 to 11. The
command options are:
counters: Clears traffic counters on line-card ports.
cpu data-plane statistics: Clears data-plane
statistics, including the HiGig port statistics with input/
718
Debugging and Diagnostics