pcie fault: 0
Chip Faults info:
module_id err_level er_type stats
0x02 0x01 0x6b 0x04
0x05 0x01 0x8c 0x04
6.1.4.12 Clearing Statistics of a Specified Device (clear)
Function
The
clear
command is used to clear the statistics of a specified type of a specified device
type.
Format
hinicadm clear -i
<
nicdevicename
>
-t
<
type
>
Parameters
Paramete
r
Description
Value
nicdevicen
ame
Indicates the name of
the IN200 whose
statistics are to be
cleared in the system.
Example:
hinic0
and
hinic1
NOTE
l
If
type
is set to 1 or 2, the value can be
eth0
.
l
If the object name used to clear the driver statistics is a
device name (for example, hinic0), the statistics of all
network devices on hinic0 are cleared. If the object
name used to clear the driver statistics is a network
device name (for example, eth0), the statistics on the
specified network device (eth0) are cleared.
type
Indicates the statistics
type to be cleared.
l
0
: asynchronous information statistics
l
1
: DFX information statistics
l
2: Basic I/O statistics
Usage Instruction
When type=2, the device name must be the network port name.
Example
# Clear the asynchronous event statistics of the IN200.
[root@localhost]#
hinicadm clear -i hinic0 -t 0
Clear event stats succeed.
# Clear the I/O statistics of the eth0 port on the IN200.
[root@localhost]#
hinicadm clear -i eth0 -t 2
Clear driver stats succeed.
Clear vport stats succeed.
Clear port stats succeed.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
71