Switch 7700 Command reference Guide, v2.0

Table Of Contents
DHCP Relay Configuration Commands 89
dhcp-server Syntax
dhcp-server group_number
undo dhcp-server
View
VLAN interface view
Parameter
group_number: Enter the DHCP Server group number.
Description
Use the dhcp-server command to associate a VLAN interface with a DHCP
Server group. DHCP Server requests are forward to the server associated with
this group from the specified interface.
Use the undo dhcp-server command to remove the VLAN interface from the
selected DHCP Server group. By default, DHCP Server requests are not
forwarded.
You can only add the primary VLAN interface to a DHCP Server group. The primary
VLAN interface is the first interface that you configure.
This command has more parameters when entered in system view. Refer to
dhcp-server ip below for details.
Related commands: dhcp-server ip, display dhcp-server vlan, debugging
dhcp-relay
.
Example
To add VLAN-Interface 1 to DHCP Server group1, enter the following:
[SW7700-Vlan-interface1]dhcp-server 1
dhcp-server ip Syntax
dhcp-server group_number ip ip_address_primary
[ ip_address_secondary ]
undo dhcp-server group_number
View
System view
Parameter
group_number: Enter the DHCP server group number, in the range 0 to 19.
ip_address_primary: Enter the IP address of the primary Server in the group.
ip_address_secondary: Enter the IP address of the secondary Server in the
group. Optional.