Follow these steps to configure the DHCP relay agent in system view to send a DHCP-RELEASE
request:
Enter system view
Configure the DHCP relay agent to send a
DHCP-RELEASE request
Configuring the DHCP Relay Agent to Support Option 82
Prerequisites
You need to complete the following tasks before configuring the DHCP relay agent to support Option 82.
Enabling DHCP
Enabling the DHCP relay agent on the specified interface
Correlating a DHCP server group with relay agent interfaces
Configuring the DHCP relay agent to support Option 82
Follow these steps to configure the DHCP relay agent to support Option 82:
To do...
Enter system view
Enter interface view
Enable the relay agent to support
Option 82
Configure the handling strategy for
requesting messages containing
Option 82
Configure
non-user-defined
Option 82
To do...
Configure the
padding format for
Option 82
Configure the
code type for the
circuit ID
sub-option
Configure the
code type for the
remote ID
sub-option
Use the command...
system-view
dhcp relay release ip client-ip
Use the command...
system-view
interface interface-type
interface-number
dhcp relay information
enable
dhcp relay information
strategy { drop | keep |
replace }
dhcp relay information
format { normal | verbose
[ node-identifier { mac |
sysname | user-defined
node-identifier } ] }
dhcp relay information
circuit-id format-type
{ ascii | hex }
dhcp relay information
remote-id format-type
{ ascii | hex }
3-7
Remarks
—
Required
Remarks
—
—
Required
Disabled by default.
Optional
replace by default.
Optional
normal by default.
Optional
By default, the code type
depends on the padding
format of Option 82. Each
field has its own code type.
The code type configuration
applies to non-user-defined
Option 82 only.
Optional
By default, the code type is
hex.
This code type configuration
applies to non-user-defined
Option 82 only.