F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
197
After information about recorded DHCP servers is cleared, the relay agent re-records server information
following this mechanism.
Examples
# Enable unauthorized DHCP server detection.
<Sysname> system-view
[Sysname] dhcp relay server-detect
dhcp relay server-group
Use dhcp relay server-group to specify a DHCP server for a DHCP server group.
Use undo dhcp relay server-group to remove a DHCP server from a DHCP server group, if no ip
ip-address is specified, all servers in the DHCP server group and the server group itself are removed.
Syntax
dhcp relay server-group group-id ip ip-address
undo dhcp relay server-group group-id [ ip ip-address ]
Default
No DHCP server is specified for a DHCP server group.
Views
System view
Default command level
2: System level
Parameters
group-id: DHCP server group number in the range of 0 to 19.
ip ip-address: DHCP server IP address.
Usage guidelines
The IP address of a DHCP server and the IP address of the DHCP relay agent's interface that connects the
DHCP client cannot be in the same network segment. Otherwise, the client may fail to obtain an IP
address.
If a server group has been correlated to multiple interfaces, you need to cancel these correlations before
removing the server group.
Examples
# S p e ci f y D H C P s e r v e r 1.1.1.1 f o r D H C P s e r ve r g rou p 1 o n t h e r e l a y a g e n t.
<Sysname> system-view
[Sysname] dhcp relay server-group 1 ip 1.1.1.1
Related commands
display dhcp relay server-group
dhcp relay server-select
Use dhcp relay server-select to correlate specified interfaces to a specific DHCP server group.
Use undo dhcp relay server-select to remove a configured correlation.