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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
dhcp server ping

dhcp server ping

Function

The dhcp server ping command sets the maximum number of ping packets to be sent and the maximum response time of a ping packet.

The undo dhcp server ping command restores the default setting.

By default, the DHCP server sends 0 ping packets and the maximum response time is 500 ms.

Format

dhcp server ping { packet number | timeout milliseconds } *

undo dhcp server ping { packet | timeout }

Parameters

Parameter Description Value
packet number Specifies the maximum number of ping packets to be sent. The value is an integer ranging from 0 to 10. The value 0 indicates that no ping operation is performed.
timeout milliseconds Specifies the maximum response time of a ping packet. The value is an integer that ranges from 0 to 10000, in milliseconds. The value 0 indicates that no ping operation is performed.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to DHCP servers. Repetitive IP address assignment will cause IP address conflicts. To solve this problem, before assigning an IP address to a client, the DHCP server needs to send ping packets using the dhcp server ping command to check whether the IP address is in use. Address detection checks whether the DHCP server receives any response within a certain period of time. If there is no response within a certain period of time, the DHCP server continues to send ping packets to this address until the number of ping packets reaches the maximum value. If there is still no response, it indicates that the IP address is not in use. This ensures that the IP address assigned to the client is unique.

Prerequisites

DHCP has been enabled using the dhcp enable command.

Example

# Set the maximum number of ping packets to 3 and the maximum response time to 400 ms.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] dhcp server ping packet 3
[Huawei] dhcp server ping timeout 400
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 194727

Downloads: 118

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