rx(Gbps) |
| 0 0.000 0.000000 0.000 0.000000 | 1 0.000 0.000000 0.000
0.000000 |
| 2 0.004 0.003072 0.004 0.001024 | 3 0.000 0.000000 0.000
0.000000 |
6.1.4.44 Setting NIC Packet Data to Be Sent and Triggering NIC Packet Sending
When AC Power Is Lost (reboot_notice)
Function
The
reboot_notice
command is used to set NIC packet data to be sent and trigger NIC packet
sending when AC power is lost
Format
hinicadm
reboot_notice -i
<
devicename
>
-m
<
mode
>
-f
<
filename
>
hinicadm
reboot_notice -i
<
devicename
>
-s
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 whose FEC mode is to
be queried in the system.
Example:
hinic0
and
hinic1
mode
Reads packet data to be sent
from the NIC, or writes data
to the NIC.
l
read
: obtains packet data to be sent
from the NIC and saves the data to the
file specified by
filename
.
l
write
: writes data to be sent to the
NIC. The data is from the file
specified by
filename
.
filename
Name of the file that stores the
packet data.
-
Usage Instruction
l
-s
: triggers all ports of the NIC to send packet data.
l
This command supports only NICs of the TaiShan 2280 V2 and supports only Linux
OSs.
Example
# Read the packet data to be sent on hinic0.
[root@localhost ~]#
hinicadm reboot_notice -i hinic0 -m read -f ./read.file
File:read.file is created succeed
reboot_notice command succeed.
# Write the packet data to be sent to hinic0.
[root@localhost ~]#
hinicadm reboot_notice -i hinic0 -m write -f ./write.file
reboot_notice command succeed.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
109