# Query the value of the read register whose address is
0x1d00000
.
[root@localhost tool]#
hinicadm reg -i hinic0 -t 1 -a 0x1d00000
addr: 0x1d00000
data: 0x182219e5
6.1.4.15 Querying and Setting the Auto-Negotiation Mode of a Specified Device
(autoneg)
Function
The
autoneg
command is used to query and set the port auto-negotiation mode of a specified
device.
Format
hinicadm autoneg -i
<
devicename
>
-p
<
portid
>
hinicadm autoneg -i
<
devicename
>
-p
<
portid
>
-m
<
mode
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 whose port auto-
negotiation mode is to be
queried and set in the system.
Example:
hinic0
and
hinic1
portid
Indicates the number of the
port to be queried or set.
-
mode
Indicates the auto-negotiation
mode to be set.
l
25g
: auto-negotiation mode defined by
the 25G Ethernet Consortium
l
ieee
: auto-negotiation mode defined
by IEEE
For details about the differences between
the two modes, see the protocol details of
the IEEE 802.3 and 25G Ethernet
Consortium.
Usage Instruction
None
Example
# Set the auto-negotiation mode of port 1 on the IN200 to
ieee
.
[root@localhost tool]#
hinicadm autoneg -i hinic0 -p 1 -m ieee
Set port1 auto-negotiation mode to ieee mode succeed.
# Query the auto-negotiation mode of port 1 on the IN200.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
74