dhcp server client-detect enable

Syntax

dhcp server client-detect enable

undo dhcp server client-detect enable

View

Interface view

Default level

2: System level

Parameters

None

Description

Use dhcp server client-detect enable to enable client off-line detection on the DHCP server.

Use undo dhcp server client-detect enable to disable the function.

By default, the function is disabled.

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.

Examples

# Enable client off-line detection on the DHCP server.

<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server client-detect enable