Configuration prerequisites, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 59

Advertising
background image

48

message, the DHCP server releases the IP address; meanwhile, the client entry is removed from the DHCP

relay agent.
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, authorized ARP, 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 prerequisites

Before performing this configuration, complete the following tasks:

Enabling DHCP

Enabling the DHCP relay agent on the specified interface

Correlating a DHCP server group with relay agent interfaces

NOTE:

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 need to 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 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.

Advertising