R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference
33
Usage guidelines
In the DHCP user class view, use the if-match option command to configure a match rule to match specific
clients. Then use the class command to specify an IP address range for the matching clients.
Examples
# Create a DHCP user class test and enter DHCP user class view.
<Sysname> system-view
[Sysname] dhcp class test
[Sysname-dhcp-class-test]
Related commands
• address range
• class
• if-match option
dhcp server always-broadcast
Use dhcp server always-broadcast to enable the DHCP server to broadcast all responses.
Use undo dhcp server always-broadcast to restore the default.
Syntax
dhcp server always-broadcast
undo dhcp server always-broadcast
Default
The DHCP server reads the broadcast flag in a DHCP request to decide whether to broadcast or unicast
the response.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command enables the DHCP server to ignore the broadcast flag in DHCP requests and broadcast
all responses.
Upon receiving a DHCP request from a DHCP relay agent (the giaddr field is not 0), the DHCP server
unicasts a response (the destination address is giaddr) to the DHCP relay agent regardless of whether
this command is executed.
Examples
# Enable the DHCP server to broadcast all responses.
<Sysname> system-view
[Sysname] dhcp server always-broadcast
dhcp server apply ip-pool
Use dhcp server apply ip-pool to apply an address pool on an interface.










