Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 whose FEC mode is to
be set or queried in the system.
Example:
hinic0
and
hinic1
portid
Indicates the number of the
port to be set or queried.
-
fecmode
Indicates the FEC mode.
l
rsfec
: Reed Solomon
Forward Error
Correction (RSFEC)
l
basefe
: basic FEC mode
l
nofec
: non-FEC
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.
l
The FEC mode takes effect only when the current optical module supports the FEC
mode or an optical module that supports the FEC mode is install; otherwise, the original
mode is used.
Example
# Set the FEC mode of port 0 of the IN200 to
rsfec
and use persistent configurations.
[root@localhost tool]#
hinicadm nic_fec -i hinic0 -p 0 -m rsfec -d
Set default FEC mode succeed.
Active default configuration succeed.
6.1.4.8.3 Clearing Existing Configurations (-p -c)
Function
The
fec -p -c
command is used to clear the existing configurations and restore the default
configurations of the FEC, auto-negotiation, and forced rate.
Format
hinicadm fec -i
<
devicename
>
-p
<
portid
>
-c
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
67