mac[14]: 00:02:03:04:05:20
mac[15]: 00:02:03:04:05:21
6.1.4.8 Querying and Setting the Port FEC Mode (fec)
6.1.4.8.1 Querying and Setting the Port FEC Mode (-p)
Function
The
fec -p
command is used to query set the forward error correction (FEC) mode for a port
of a specified device.
Format
hinicadm fec -i
<
devicename
>
-p
<
portid
>
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.
-
Usage Instruction
None
Example
# Query the FEC mode of port 0 of the IN200.
[root@localhost tool]#
hinicadm fec -i hinic0 -p 0
Port0 FEC mode: nofec
6.1.4.8.2 Setting the Port FEC Mode (-p -m)
Function
The
fec -p -m
command is used to set the forward error correction (FEC) mode for a port of a
specified device.
Format
hinicadm fec -i
<
devicename
>
-p
<
portid
>
-m
<
fecmode
> [
-d
]
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
66