3com 5500-SI Manual De Usuario
286
C
HAPTER
17: N
ETWORK
P
ROTOCOL
O
PERATION
DHCP Relay
Configuration
DHCP relay configuration is described in the following sections:
■
■
■
■
■
Enabling DHCP
Be sure to enable DHCP before you perform other DHCP relay-related configuration,
for other DHCP-related configurations cannot take effect with DHCP disabled.
for other DHCP-related configurations cannot take effect with DHCP disabled.
Configuring the IP address for the DHCP server
You can configure a master and a backup DHCP server, which are in the same DHCP
server group, in the same network segment to ensure reliability.
server group, in the same network segment to ensure reliability.
Perform the following configuration in System View.
By default, no IP address is configured for the DHCP server.
Note that you must configure an IP address for the backup DHCP server together with
that of the master server.
that of the master server.
Configuring the DHCP Server Group for the VLAN Interfaces
Perform the following configuration in VLAN Interface View.
By default, no DHCP server corresponds to VLAN interfaces.
When associating a VLAN interface to a new DHCP server group, you can configure
the association without disassociating it from the previous group.
the association without disassociating it from the previous group.
Table 280 Enable DHCP
Operation
Command
Description
Enter system view
system-view
-
Enable DHCP
dhcp enable
Required
By default, DHCP is disabled.
By default, DHCP is disabled.
Table 281 Configuring the IP Address for the DHCP Server
Operation
Command
Configure IP address for DHCP server
dhcp-server
groupNo ip ipaddress1 [
ipaddress2
]
Delete all DHCP server IP addresses (set
the IP addresses of master and backup
DHCP servers to 0)
the IP addresses of master and backup
DHCP servers to 0)
undo dhcp-server
groupNo
Table 282 Configuring the DHCP Server Group Corresponding to VLAN Interfaces
Operation
Command
Configure DHCP server group corresponding to VLAN interfaces dhcp-server groupNo
Delete DHCP server group
undo dhcp-server