Setting the Maximum Number of DHCP Clients

The maximum number of Dynamic Host Configuration Protocol (DHCP) clients that log in from an interface can be specified.

Usage Scenario

After the number of login clients reaches the maximum number, no client can obtain IP address. To prevent malicious IP address application, configure the maximum number of DHCP clients.

When the number of login users on a DHCP snooping device reaches the maximum number, check whether the IP address of DHCP ACK packets exists in the binding entries and determine whether the login users are new ones. In this case, you can configure the MAC address strict check function. DHCP snooping can determine whether the users are new ones by checking the MAC addresses of the DHCP Discover packets sent by them. If the MAC address of a user does not exist in DHCP snooping binding entries, the user is not allowed to go online, and packets are not sent to the DHCP server. In this manner, the DHCP server is not affected by unauthorized users.

Pre-configuration Tasks

Before you set the maximum number of DHCP clients, configure DHCP snooping and trusted interfaces.

Procedure

Result

Run the display dhcp snooping { interface interface-type interface-number | vlan vlan-id [ interface interface-type interface-number ] | bridge-domain bd-id } command to check the maximum number of DHCP clients.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >