Q-Logic 8200 Manuel D’Utilisation

Page de 366
4–NIC Noninteractive Commands
-ping (Ping Target)
SN0054667-00  C
4-13
-ping 
(Ping Target)
To run a ping diagnostic, issue the -ping command as follows:
qaucli -pr nic -ping <cna_port_inst> <hostname_or_IPv4> [<count
<packet size
> <timeout_ms> <TTL>]
Where the default parameter values are as follows:
count = 5
packet size = 525
timeout_ms = 1000
TTL = 30
For example:
qaucli -pr nic -ping 1 starblazer
Loading: 1. CNA ...
Loading: 1. CNA Port index : 1 ...
Loading: 1. CNA Port index : 2 ...
Got IP: 192.168.104.142 for starblazer
------------------
ping IPv4
------------------
Got IP: 192.168.104.142 for starblazer
Pinging 192.168.104.142 ...
Ping Response Received, roundtrip=0 ms, hops=0
Ping Response Received, roundtrip=0 ms, hops=0
Ping Response Received, roundtrip=0 ms, hops=0
Ping Response Received, roundtrip=0 ms, hops=0
Ping Response Received, roundtrip=16 ms, hops=0
Summary: ping failed 0, ping success 5 ping timeout 0
-rc 
To view a list of error codes and their descriptions, issue the -rc command as 
follows:
qaucli -pr nic -rc