Huawei IN200 NIC
User Guide
Parameters
Parame
ter
devicena
me
countert
ype
counteri
ndex
Usage Instruction
If the command contains -x, the value of countertype can be 0 and 1.
Example
# Query all statistics of the IN200.
[root@localhost tool]# hinicadm counter -i hinic0
uP Statistics:
uP Common Counter:
mag
general level except: 246
suggest level except: 127
mag:err_mag_rf_lf: 252
mag:err_mag_linkdown: 250
mag:err_mag_linkup: 127
......
# Query the microcode statistics of the IN200.
[root@localhost tool]# hinicadm counter -i hinic0 -t 1
uCode Statistics:
NIC MIB TX UC Counter:
func1:tx_uc: 0x00000193b7694888 00000000197c70de
func76:tx_uc: 0x0000000002e9c940 00000000000b4b76
func77:tx_uc: 0x0000000ba3609e9c 00000000000bbd36
NIC MIB TX BC Counter:
func1:tx_bc: 0x0000000000000790 000000000000002e
func77:tx_bc: 0x000000000000002a 0000000000000001
NIC MIB TX MC Counter:
func0:tx_mc: 0x0000000000001930 0000000000000048
func1:tx_mc: 0x000000000000ae3a 00000000000001e3
func2:tx_mc: 0x0000000000001944 0000000000000048
func3:tx_mc: 0x0000000000001930 0000000000000048
Issue 06 (2019-07-27)
Description
Indicates the name of the
IN200 to be queried in the
system.
Indicates the statistics type.
Indicates the statistics
sequence.
module except: 117
Copyright © Huawei Technologies Co., Ltd.
Value
Example: hinic0 and hinic1
NOTE
l If countertype is set to 3, the value can be eth0 or
eth1.
l If the value of this parameter is hinic0, this
command queries the statistics of all PFs on the
card. If the value of this parameter is a port name,
this command queries the statistics of the specific
port.
l 0: firmware statistics
l 1: microcode statistics
l 2: IPSURX statistics
l 3: driver statistics
You can run the counter -h command to obtain
the value range.
6 Management Tools
62