Creating a DHCP user class
About DHCP user class
The DHCP server classifies DHCP users into different user classes according to the hardware address, option information, or the giaddr field in the received DHCP requests. The server allocates IP addresses and configuration parameters to DHCP clients in different user classes.
Procedure
Enter system view.
system-view
Create a DHCP user class and enter DHCP user class view.
dhcp class class-name
Configure a match rule for the DHCP user class.
if-match rule rule-number { hardware-address hardware-address mask hardware-address-mask | option option-code [ ascii ascii-string [ offset offset | partial ] | hex hex-string [ mask mask | offset offset length length | partial ] ] | relay-agent gateway-address }
By default, no match rule is configured for a DHCP user class.