6.1.4.3.1 Collecting All Firmware Logs of a Specified Device (-a)
Function
The
log -a
command is used to collect all firmware logs of a specified device, including the
firmware and microcode logs of the RAM and flash memory as well as the last words of the
firmware and microcode.
The collected logs are automatically saved to
/opt/hinic/fwlog/
in the tool installation
directory.
Format
hinicadm log -i
<
devicename
>
-a
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried in the
system.
Example:
hinic0
and
hinic1
Usage Instruction
None
Example
# Query all logs on a specified IN200.
[root@localhost tool]#
hinicadm log -i hinic0 -a
/opt/hinic/fwlog/ucode_flash_hinic0_2018_01_15_17_05_41.log create succeed.
/opt/hinic/fwlog/ucode_ram_hinic0_2018_01_15_17_05_41.log create succeed.
/opt/hinic/fwlog/ucode_lastword_flash_hinic0_2018_01_15_17_05_41.log create
succeed.
/opt/hinic/fwlog/up_lastword_flash_hinic0_2018_01_15_17_05_41.log create succeed.
/opt/hinic/fwlog/up_flash_hinic0_2018_01_15_17_05_41.log create succeed.
/opt/hinic/fwlog/up_ram_hinic0_2018_01_15_17_05_40.log create succeed.
[root@localhost tool]# /opt/hinic/fwlog #
ls
ucode_flash_hinic0_2018_01_15_17_05_41.log
ucode_ram_hinic0_2018_01_15_17_05_41.log
up_lastword_flash_hinic0_2018_01_15_17_05_41.log
ucode_lastword_flash_hinic0_2018_01_15_17_05_41.log
up_flash_hinic0_2018_01_15_17_05_41.log
up_ram_hinic0_2018_01_15_17_05_40.log
6.1.4.3.2 Collecting Logs of a Specified Type (-t)
Function
The
log -t
command is used to collect logs of a specified type and save the collected logs
to
/opt/hinic/fwlog
.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
54