dhcp server ping packets

Syntax

dhcp server ping packets number

undo dhcp server ping packets

View

System view

Default level

2: System level

Parameters

number: Specifies the number of ping packets, in the range of 0 to 10. 0 means no ping operation.

Description

Use dhcp server ping packets to specify the maximum number of ping packets on the DHCP server.

Use undo dhcp server ping packets to restore the default.

The number defaults to 1.

To avoid IP address conflicts, the DHCP server checks whether an IP address is in use before assigning it to a DHCP client.

The DHCP server pings the IP address to be assigned by using ICMP. If the server gets a response within the specified period, the server selects and pings another IP address. If not, the server pings the IP address again until the specified number of ping attempts is reached. If still no response is received, the server assigns the IP address to the requesting client.

Examples

# Specify the maximum number of ping packets as 10.

<Sysname> system-view
[Sysname] dhcp server ping packets 10