Enabling client offline detection, Enabling handling of option 82, Configuration prerequisites – H3C Technologies H3C S10500 Series Switches User Manual
Page 59: Enable option 82 handling

48
To do…
Use the command…
Remarks
Enter system view
system-view
—
Specify the number of ping
packets
dhcp server ping packets
number
Optional
One ping packet by default.
The value 0 indicates that no ping
operation is performed.
Configure a timeout waiting for
ping responses
dhcp server ping timeout
milliseconds
Optional
500 ms by default.
The value 0 indicates that no ping
operation is performed.
Enabling client offline detection
With this feature enabled, the DHCP server considers a DHCP client goes offline when the ARP entry for
the client ages out. In addition, it removes the client’s IP-to-MAC binding entry.
To enable offline detection:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter interface view
interface interface-type
interface-number
—
Enable offline detection
dhcp server client-detect enable
Required
Disabled by default.
NOTE:
Removing an ARP entry manually does not remove the corresponding client’s IP-to-MAC binding.
Enabling handling of Option 82
With Option 82 handling enabled, when the DHCP server receives a request with Option 82, it adds
Option 82 into the response.
If the server is configured to ignore Option 82, it will assign an IP address to the client without adding
Option 82 in the response message.
Configuration prerequisites
Before performing this configuration, complete the following configuration on the DHCP server:
•
Enable DHCP
•
Configure the DHCP address pool
Enable Option 82 handling
Follow these steps to enable the DHCP server to handle Option 82:
To do…
Use the command…
Remarks
Enter system view
system-view
—