HP VPN Firewall Appliances Network Management Command Reference
195
Views
Interface view
Default command level
2: System level
Parameters
group-id: DHCP server group number to be correlated, in the range of 0 to 19.
Usage guidelines
A DHCP server group can correlate with one or multiple DHCP relay agent interfaces.
A relay agent interface can only correlate with one DHCP server group, and a newly configured
correlation overwrites the previous one. If the server group in the new correlation does not exist, the new
configuration does not work. The interface still maintains the previous correlation.
The DHCP server group referenced in this command should have been configured by using the dhcp
relay server-group command.
Examples
# Correlate the interface GigabitEthernet 0/1 to the DHCP server group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay server-select 1
Related commands
• dhcp relay server-group
• display dhcp relay
dhcp select relay
Use dhcp select relay to enable the relay agent on the current interface. Upon receiving requests from an
enabled interface, the relay agent forwards these requests to outside DHCP servers for IP address
allocation.
Use undo dhcp select relay to restore the default.
Syntax
dhcp select relay
undo dhcp select relay
Views
Interface view
Default command level
2: System level
Usage guidelines
After DHCP is enabled, the DHCP server is enabled on an interface by default. Upon receiving a client's
request from the interface, the DHCP server allocates an IP address from the DHCP address pool to the
client.