beautypg.com

Configuration guidelines, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 73

background image

62

Follow these steps to configure the DHCP relay agent to send DHCP-RELEASE messages:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the DHCP relay agent to release an
IP address

dhcp relay release ip client-ip Required

NOTE:

The IP address to be released must be available in a dynamic client entry.

Dynamic client entries can be generated only after you enable address check, or IP source guard on the
DHCP relay agent. For more information about IP source guard, see the

Security Configuration Guide.

Configuring the DHCP relay agent to support

Option 82

Configuration guidelines

To support Option 82, perform related configuration on both the DHCP server and relay agent. See

the chapter “DHCP server configuration” for DHCP server configuration of this kind.

If the handling strategy of the DHCP relay agent is configured as replace, you must configure a
padding format for Option 82. If the handling strategy is keep or drop, you need not configure any

padding format.

If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node,
the device name must contain no spaces. Otherwise, the DHCP relay agent will drop the message.

Configuration prerequisites

Before performing this configuration, complete the following tasks:

Enable DHCP.

Enable the DHCP relay agent on the specified interface.

Correlate a DHCP server group with relay agent interfaces.

Configuration procedure

Follow these steps to configure the DHCP relay agent to support Option 82:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Enable the relay agent to support Option
82

dhcp relay information
enable

Required
Disabled by default.

Configure the handling strategy for
requesting messages containing Option

82

dhcp relay information
strategy { drop | keep |

replace }

Optional
replace by default.