H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 2 DHCP Relay Agent Configuration Commands
2-6
Related commands: dhcp-server ip, display dhcp-server, display dhcp-server
interface vlan-interface.
Examples
# Specify that VLAN-interface 1 corresponds to DHCP server group 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] dhcp-server 1
2.1.8 dhcp-server ip
Syntax
dhcp-server groupNo ip ip-address&<1-8>
undo dhcp-server groupNo
View
System view
Parameters
groupNo: DHCP server group number, ranging from 0 to 19.
ip-address&<1-8>: IP address of the DNS server. &<1-8> indicates that up to eight IP
addresses can be input, with any two IP addresses separated by a space.
Description
Use the dhcp-server ip command to configure the DHCP server IP address(es) in a
specified DHCP server group.
Use the undo dhcp-server command to remove all DHCP server IP addresses in a
DHCP server group.
Related commands: dhcp-server, display dhcp-server.
Examples
# Configure three DHCP server IP addresses 1.1.1.1, 2.2.2.2, and 3.3.3.3 for DHCP
server group 1, so that this group contains three DHCP servers (server 1, server 2 and
server 3).
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp-server 1 ip 1.1.1.1 2.2.2.2 3.3.3.3