dhcp server detect
Syntax
dhcp server detect
undo dhcp server detect
View
System view
Default level
2: System level
Parameters
None
Description
Use dhcp server detect to enable unauthorized DHCP server detection.
Use undo dhcp server detect to disable the function.
By default, the function is disabled.
With this function enabled, upon receiving a DHCP request, the DHCP server resolves from the request the IP addresses of DHCP servers which ever offered IP addresses to the DHCP client and the receiving interface. Each server detected is recorded only once. The administrator can use this information to check for unauthorized DHCP servers.
Examples
# Enable unauthorized DHCP server detection.
<Sysname> system-view [Sysname] dhcp server detect