If a client's
requesting message
has...
no Option 82
Configuring the DHCP relay agent
Enabling DHCP
This is a required task. Enable DHCP before performing other DHCP-related configurations.
To enable DHCP:
To do...
1.
Enter system view
2.
Enable DHCP
Enabling DHCP relay agent on an interface
This is a required task. With this task completed, upon receiving a DHCP request from the enabled
interface, the relay agent will forward the request to a DHCP server for address allocation.
To enable the DHCP relay agent on an interface:
To do...
1.
Enter system view
2.
Enter interface view
3.
Enable the DHCP relay agent
on the current interface
Handling
Padding format
strategy
user-defined
—
normal
—
verbose
—
user-defined
Use the command...
system-view
dhcp enable
Use the command...
system-view
interface interface-type interface-
number
dhcp select relay
35
The DHCP relay agent will...
Forward the message after replacing the
original Option 82 with the user-defined
Option 82.
Forward the message after adding the
Option 82 padded in normal format.
Forward the message after adding the
Option 82 padded in verbose format.
Forward the message after adding the user-
defined Option 82.
Remarks
—
Required
Disabled by default.
Remarks
—
—
Required
With DHCP enabled, interfaces
work in the DHCP server mode.