Querying And Setting The Auto-Negotiation Mode Of A Specified Device (Autoneg) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
# Query the value of the read register whose address is 0x1d00000.
[root@localhost tool]# hinicadm reg -i hinic0 -t 1 -a 0x1d00000
addr:
data:
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
devicename
portid
mode
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.
Issue 06 (2019-07-27)
0x1d00000
0x182219e5
Description
Indicates the name of the
IN200 whose port auto-
negotiation mode is to be
queried and set in the system.
Indicates the number of the
port to be queried or set.
Indicates the auto-negotiation
mode to be set.
Copyright © Huawei Technologies Co., Ltd.
Value
Example: hinic0 and hinic1
-
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.
6 Management Tools
74

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents