The learn-client-address dhcp-strict command enables strict STA IP address learning through DHCP.
The undo learn-client-address dhcp-strict command disables strict STA IP address learning through DHCP.
By default, strict STA IP address learning through DHCP is disabled.
Parameter |
Description |
Value |
---|---|---|
blacklist enable |
Adds STAs with bogus IP addresses to a blacklist. By default, STAs with bogus IP addresses are not added to a blacklist. |
- |
Usage Scenario
Prerequisites
STA address learning has been enabled using the undo learn-client-address disable command.
Precautions
After strict STA IP address learning is enabled, it is recommended that you run the ip source check user-bind enable and arp anti-attack check user-bind enable commands to enable IP source guard and dynamic ARP inspection so that STAs cannot communicate with the network before obtaining an IP address through DHCP.
If strict STA IP address learning is disabled, you can manually configure static IP addresses. If a STA obtains an IP address dynamically using DHCP, goes online, and then statically modifies its IP address, the administrator cannot check the IP address change of this STA.