112 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
dhcp-server ip Syntax
dhcp-server groupNo ip ipaddress1 [ ipaddress2 ]
undo dhcp-server groupNo
View
System View
Parameters
groupNo Enter the DHCP server group number, in the range 0 to 19.
ip_address1 Enter the IP address of the primary Server in the group.
ip_address2 Enter the IP address of the secondary Server in the group. Optional.
Description
Use the dhcp-server ip command to configure the IP address of the DHCP
Server used by the DHCP Server group.
Use the undo dhcp-server ip command to delete the IP addresses of all DHCP
Servers in DHCP Server group.
This command has fewer parameters when entered in VLAN Interface View. Refer
to dhcp-server command for details.
Related commands: dhcp-server, debugging dhcp-relay.
Example
To configure the primary and secondary IP addresses of DHCP Server group 1 as
1.1.1.1 and 2.2.2.2 respectively, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]dhcp-server 1 ip 1.1.1.1 2.2.2.2
To delete the IP addresses of DHCP Server group1, enter the following:
[4500]undo dhcp-server 1
display dhcp-server Syntax
display dhcp-server groupNo
View
All views.
Parameter
groupNo Enter a DHCP Server group number, in the range 0 to 19.
Description
Use the display dhcp-server command to view information on a selected DHCP
Server group.