107
Step Command
Remarks
2.
Create a DHCP option
group and enter DHCP
option group view.
dhcp option group
option-group-number
By default, no DHCP option group
exists.
3.
Customize a DHCP
option.
option code
{
ascii
ascii-string
|
hex
hex-string
|
ip-address
ip-address
&<1-8> }
By default, no DHCP option is
customized in a DHCP option
group.
DHCP options specified in DHCP
option groups take precedence
over those specified in DHCP
address pools.
4.
Enter DHCP address pool
view.
dhcp server ip-pool
pool-name
By default, no DHCP address pool
exists.
5.
Specify the DHCP option
group for the DHCP user
class.
class
class-name option group
option-group-number
By default, no DHCP option group
is specified for a DHCP user class.
Configuring the DHCP user class whitelist
The DHCP user class whitelist allows the DHCP server to process requests only from clients on the
DHCP user class whitelist. The whitelist does not take effect on clients who request static IP
addresses, and the server always processes their requests.
To configure the DHCP user class whitelist:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter DHCP address pool
view.
dhcp server ip-pool
pool-name
By default, no DHCP address pool
exists.
3.
Enable the DHCP user class
whitelist.
verify class
By default, the DHCP user class
whitelist is disabled.
4.
Add DHCP user classes to
the DHCP user class
whitelist.
valid class class-name
&<1-8>
By default, no DHCP user class is
on the DHCP user class whitelist.
Enabling DHCP
You must enable DHCP to validate other DHCP configurations.
To enable DHCP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCP.
dhcp enable
By default, DHCP is disabled.