61
Related commands:
display dhcp relay security tracker
.
Examples
# Set the refreshing interval as 100 seconds.
<Sysname> system-view
[Sysname] dhcp relay security tracker 100
dhcp relay server-detect
Syntax
dhcp relay server-detect
undo dhcp relay server-detect
View
System view
Default level
2: System level
Parameters
None
Description
Use the
dhcp relay server-detect
command to enable unauthorized DHCP server detection.
Use the
undo dhcp relay server-detect
command to disable unauthorized DHCP server detection.
By default, unauthorized DHCP server detection is disabled.
With this function enabled, upon receiving a DHCP request, the DHCP relay agent will record from the
request the IP addresses of all DHCP servers that ever offered IP addresses to the DHCP client and the
receiving interface. Each server detected is recorded only once. The administrator can get this information
from logs to check out unauthorized DHCP servers.
After the information of recorded DHCP servers is cleared, the relay agent will re-record server
information following this mechanism.
Examples
# Enable unauthorized DHCP server detection.
<Sysname> system-view
[Sysname] dhcp relay server-detect
dhcp relay server-group
Syntax
dhcp relay server-group
group-id
ip
ip-address
undo dhcp relay server-group
group-id
[
ip
ip-address
]
View
System view