Operation Manual – DHCP
H3C S7500 Series Ethernet Switches
Note:
Request packets sent by a DHCP client fall into two categories: DHCP-DISCOVER
packets and DHCP-REQUEST packets. As DHCP servers coming from different
manufacturers process DHCP request packets in different ways (that is, some DHCP
servers process option 82 in DHCP-DISCOVER packets, whereas the rest process
option 82 in DHCP-REQUEST packets), a DHCP relay agent adds option 82 to both
types of packets to accommodate to DHCP servers of different manufacturers.
3.2 Configuring DHCP Relay Agent
3.2.1 DHCP Relay Agent Configuration Task List
Complete the following tasks to configure DHCP relay agent:
Enabling DHCP
Configuring an Interface to Operate in DHCP Relay Agent Mode
Configuring DHCP Relay Agent Security
Configuring Option 82 Supporting
3.2.2 Enabling DHCP
Make sure to enable DHCP before you perform other DHCP relay agent-related
configurations, since other DHCP-related configurations cannot take effect with
DHCP disabled.
Follow these steps to enable DHCP:
To do...
Enter system view
Enable DHCP
3.2.3 Configuring an Interface to Operate in DHCP Relay Agent Mode
When an interface operates in the relay mode, the interface forwards the DHCP
packets received from DHCP clients to an external DHCP server, which assigns IP
addresses to the DHCP clients.
Task
Use the command...
system-view
dhcp enable
3-4
Chapter 3 DHCP Relay Agent Configuration
Remarks
—
Required
By default, DHCP is enabled
Remarks
Required
Required
Optional
Optional