The ap-ping command uses a specified AP to ping a network device and displays the returned result.
ap-ping { ap-name ap-name | ap-id ap-id } [ -c count | -s packetsize | -m time | -t timeout ] * host
Parameter |
Description |
Value |
---|---|---|
ap-name ap-name |
Specifies the name of an AP used to ping other network devices. |
The AP name must already exist. |
ap-id ap-id |
Specifies the ID of an AP used to ping other network devices. |
The AP ID must already exist. |
-c count |
Specifies the number of ICMP Echo Request packets to be sent. |
The value is an integer that ranges from 1 to 10. The default value is 4. |
-s packetsize |
Specifies the length of an Echo Request packet excluding the IP header and ICMP header. |
The value is an integer that ranges from 20 to 8100, in bytes. The default value is 56 bytes. |
-m time |
Specifies the time to wait before sending the next ICMP Request packet. |
The value is an integer that ranges from 1 to 5000, in milliseconds. The default value is 2000 ms. |
-t timeout |
Specifies the timeout period for an ICMP Echo Response packet. |
The value is an integer that ranges from 0 to 10000, in milliseconds. The default value is 2000 ms. |
host |
Specifies the domain name or IP address of the destination host. |
The value is a string of 1 to 20 characters. |
Usage Scenario
Precautions
# Use the AP N1-2 to perform a ping operation.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] ap-ping ap-name N1-2 10.1.1.1 Warning: This operation maybe takes several minutes, continue?[Y/N]:y [HUAWEI-wlan-view] AP ping result Success count : 4 Failure count : 0 Average response time: 1 ms Minimum response time: 1 ms Maximum response time: 1 ms