Querying The Registerinformation Of A Specified Device (Reg) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
[root@localhost tool]# hinicadm qos -i hinic0
cos number: 4
user priority:
# Set the CGE pause time for port 0.
[root@localhost tool]# hinicadm qos -i hinic0 -t 65535 -p 0
qos command error(-6): Only cge card could set pause time.

6.1.4.14 Querying the RegisterInformation of a Specified Device (reg)

Function
The reg command is used to query the current register value of a specified device.
Format
hinicadm reg -i <devicename> -t <registertype> -a <address> [-n <num>] [-c <channel>]
Parameters
Parameter
devicename
registertype
address
num
channel
Usage Instruction
If the command does not contain -n, it queries only the value of a register whose address has
been specified.
Example
# Query the current values of the three consecutive registers starting from 0x1022C in the
IN200.
[root@localhost tool]# hinicadm reg -i hinic0 -t 0 -a 0x1022c -n 3
addr:
val[0] = 0x00
val[1] = 0x00
val[2] = 0x00
Issue 06 (2019-07-27)
6
5
3
0
Description
Indicates the name of the
IN200 to be queried in the
system.
Indicates the type of the
register to be queried
Indicates the address of the
register to be queried
Indicates the number of
registers to be queried.
Indicates the channel type of
registers to be queried.
0x1022c
Copyright © Huawei Technologies Co., Ltd.
6 Management Tools
Value
Example: hinic0 and
hinic1
l 0: mag register
l 1: read register
The value must be a
hexadecimal address.
The value must range from
1 to 32.
The value must range from
0 to 1.
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents