# Trigger all ports of the network adapter to send packets.
[root@localhost ~]#
hinicadm reboot_notice -i hinic0 -s
reboot_notice command succeed.
6.1.4.45 Querying and Setting the DCB Function (dcb)
Function
The
dcb
command is used to query or set the DCB function of a device.
Format
hinicadm dcb -i
<
devicename
> -e <
mode
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried and set in
the system.
For example, the value can
be
enp6s0
or
enp7s0
.
mode
Enables or disables the DCB
function.
l
1
: Enables the DCB
function.
l
0
: Disables the DCB
function.
Usage Instruction
None
Example
# Check whether DCB is enabled for enp6s0.
[root@localhost ~]# hinicadm dcb -i enp6s0
enp6s0 dcb state: disable
# Enable DCB for enp6s0.
[root@localhost ~]# hinicadm dcb -i enp6s0 -e 1
Set enp6s0 dcb to enable succeed.
6.1.4.46 Querying and Setting the PFC Function (pfc)
Function
The
pfc
command is used to query or set the PFC function of a device.
Format
hinicadm pfc -i
<
devicename
> -e <
mode
> [-p <
priority
>]
hinicadm pfc -i
<
devicename
> -p <
priority
>
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
110