R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
148
NOTE:
The relay agent logs a DHCP server only once.
Configuring the DHCP relay agent to release an IP address
You can configure the relay agent to release a client’s IP address. The relay agent sends a
DHCP-RELEASE message that contains the specified IP address. Upon receiving the DHCP-RELEASE
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
g
enerated only after you enable address check on the DHCP relay a
g
ent.
Configuring the DHCP relay agent to support Option 82
1. 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.
2. 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
—