[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] bootfile-name boot.cfg
# Specify the configuration file URL http://10.1.1.1/boot.cfg in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] bootfile-name http://10.1.1.1/boot.cfg
Related commands
•
display dhcp server pool
next-server
•
•
tftp-server domain-name
tftp-server ip-address
•
class option-group
Use class option-group to specify a DHCP option group for a DHCP user class.
Use undo class option-group to remove the configuration.
Syntax
class class-name option-group option-group-number
undo class class-name option-group
Default
No DHCP option group is specified for a DHCP user class.
Views
DHCP address pool view
Predefined user roles
network-admin
Parameters
class-name: Specifies a DHCP user class by its name, a case-insensitive string of 1 to 63 characters.
option-group-number: Specifies a DHCP option group by its number in the range of 1 to 32768.
Usage guidelines
When receiving a DHCP-DISCOVER message, the server compares the client against the user classes in
the order that they are specified by this command. If a match is found, the server assigns the client the
DHCP options in the option group. If multiple matches are found, the server selects option groups by
using the following methods:
If the option groups have options in common, the server selects the option group specified for the
•
first matching user class.
If the option groups have different options, the server selects all the matching option groups.
•
You can specify only one option group for a DHCP user class in a DHCP address pool. If you use this
command multiple times for a user class, the most recent configuration takes effect.
Examples
# Specify DHCP option group 1 for user class user in DHCP address pool 0.
41