Port0 default auto-negotiation: on
Port0 default force speed: 25GE
6.1.4.23.2 Setting the Transmission Rate of a Specified Port (-s)
Function
The
hilink_speed
-s
command is used to set the transmission rate of a specified port.
Format
hinicadm hilink_speed -i
<
devicename
>
-p
<
portid
>
-s
<
speed
> [
-d
]
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be configured in
the system.
Example:
hinic0
or
hinic1
portid
Indicates the number of
the port to be set.
-
speed
Indicates the port rate
when the auto-negotiation
mode is disabled. The unit
is GB.
10 or 25
Usage Instruction
l
If the command contains
-d
, the setting is permanent and takes effect after a restart.
l
If the command does not contain
-d
, the setting is not permanent and will be restored to
the factory setting after a restart.
Example
# Set the transmission rate of port 0 to 25 GB and make the setting take effect permanently.
[root@localhost tool]#
hinicadm hilink_speed -i hinic0 -p 0 -s 25 -d
Set forced speed succeed.
Set default configuration succeed.
Active default configuration succeed.
6.1.4.23.3 Setting the Auto-Negotiation Mode of a Specified Port (-an)
Function
The
hilink_speed
-an
command is used to enable or disable the auto-negotiation mode of a
specified port.
Format
hinicadm hilink_speed -i
<
devicename
>
-p
<
portid
>
-an
<
state
> [
-d
]
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
83