No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ap-ping

ap-ping

Function

The ap-ping command uses a specified AP to ping a network device and displays the returned result.

Format

ap-ping { ap-name ap-name | ap-id ap-id } [ -c count | -s packetsize | -m time | -t timeout ] * host

Parameters

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.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

  • You can run this command to check the connectivity between an AP and network device by pinging a network device from an AP.
  • The prerequisite is that the AP is online and has been configured with an IP address.

Precautions

  • This command may cost much time because the parameters such as waiting time affects the command running.
  • Only one AP can perform the ping operation at a time.

Example

# 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
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 127934

Downloads: 88

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next