49
Examples
# Specify the TFTP server address 10.1.1.1 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] tftp-server ip-address 10.1.1.1
vendor-class-identifier
Syntax
vendor-class-identifier hex-string&<1-255> ip range min-address max-address
undo vendor-class-identifier hex-string&<1-255>
View
DHCP extended address pool view
Default level
2: System level
Parameters
hex-string&<1-255>: Specifies a character string, which is used to match against Option 60 (vendor class
identifier option). hex-string is a hexadecimal number ranging from 0 to FF. &<1-255> indicates that you
can type up to 255 hexadecimal numbers, which are separated by spaces.
ip range min-address max-address: Specifies the IP address range for dynamic allocation. min-address is
the lowest IP address and max-address is the highest IP address for dynamic allocation.
Description
Use the vendor-class-identifier command to specify an IP address range for the DHCP clients of a
specified vendor.
Use the undo vendor-class-identifier command to restore the default.
By default, no IP address range is specified for the DHCP clients of any vendor.
After this feature is configured in an extended DHCP address pool, the DHCP server, when using the
extended DHCP address pool to assign an IP address to a DHCP client, checks whether Option 60 in the
DHCP request is the same as the character string configured with the vendor-class-identifier command. If
yes, the DHCP server selects an IP address from the address range specified with this command. If not,
the DHCP server selects one from the address range specified with the network ip range command.
NOTE:
ï‚· Only extended address pools support this command.
ï‚· The IP address range specified with this command must be included in that specified with the network ip range
command.
Related commands: network ip range and network mask.
Examples
# Specify IP address 10.1.1.1 to 10.1.1.5 for the DHCP clients of vender a0 b0 0c.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0 extended