If a DHCP request
has...
DHCP relay agent configuration task list
Task
Enabling DHCP
Enabling the DHCP relay agent on an interface
Correlating a DHCP server group with a relay agent interface
Configuring the DHCP relay agent security functions
Enabling client offline detection
Configuring the DHCP relay agent to release an IP address
Configuring the DHCP relay agent to handle Option 82
Setting the DSCP value for DHCP packets
Enabling DHCP
Enable DHCP to validate other DHCP relay agent settings.
To enable DHCP:
Step
1.
Enter system view.
2.
Enable DHCP.
Enabling the DHCP relay agent on an interface
With the DHCP relay agent enabled, an interface forwards incoming DHCP requests to a DHCP server
for address allocation.
An IP address pool that contains the IP address of the DHCP relay agent interface must be configured on
the DHCP server. Otherwise, the DHCP clients connected to the relay agent cannot obtain correct IP
addresses.
To enable the DHCP relay agent on an interface:
Step
1.
Enter system view.
Handling
Padding
strategy
format
N/A
Verbose
N/A
User-defined
Command
system-view
dhcp enable
Command
system-view
58
The DHCP relay agent will...
Forward the message after adding the Option
82 padded in verbose format.
Forward the message after adding the
user-defined Option 82.
Remarks
Required.
Required.
Required.
Optional.
Optional.
Optional.
Optional.
Optional.
Remarks
N/A
Disabled by default.
Remarks
N/A