3–Adapter Management Applications
Linux Management Applications
110
CU0354602-00 L
QConvergeConsole CLI-based diagnostics include the following commands:
To enable or disable the port beacon, issue the following command:
qaucli -pr nic -beacon [
cna_port_inst
] <on|off>
To run an internal loopback test, issue the following command:
qaucli -pr nic -intloopback <
cna_port_inst
> <
tests_num
> <
on_error
>
where
tests_num
is the number of tests (1–65535) and
on_error
is either
0
=Ignore or
1
=Abort
To perform a Flash test, issue the following command:
qaucli -pr nic testflash [
cna_port_inst
]
To perform a hardware test, issue the following command:
qaucli -pr nic -testhw [
cna_port_inst
]
To perform an interrupt test, issue the following command:
qaucli -pr nic -testinterrupt [
cna_port_inst
]
To perform a link test, issue the following command:
qaucli -pr nic -testlink [
cna_port_inst
]
To perform a register test, issue the following command:
qaucli -pr nic -testregister [
cna_port_inst
]
To display transceiver DMI data, issue the following command:
qaucli -pr nic -trans [
cna_port_inst
]
Ethtool Diagnostics
To perform an adapter self-test using ethtool-based diagnostics, issue the
following command:
# ethtool -t eth<
x
> offline
The self-test includes the following:
Loopback test
Interrupt test
Link test
Register test
Examples:
# ethtool -t eth8 offline
The test result is PASS
The test extra info:
Register_Test_on_offline 0
Link_Test_on_offline 0
Interrupt_Test_offline 0
Loopback_Test_offline 0