
Operation Manual – DHCP
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 DHCP Relay Agent Configuration
3-6
Follow these steps to configure the DHCP relay agent in system view to send a
DHCP-RELEASE request:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the DHCP relay
agent to send a
DHCP-RELEASE request
dhcp relay release
ip
client-ip
Required
3.3.5 Configuring the DHCP Relay Agent Security Functions
I. Creating static bindings and enable IP address check
The DHCP relay agent can dynamically record clients’ IP-to-MAC bindings after clients
get IP addresses. It also supports static bindings, which means you can manually
configure IP-to-MAC bindings on the DHCP relay agent, so that users can access
external network using fixed IP addresses.
For avoidance of invalid IP address configuration, you can configure the DHCP relay
agent to check whether a requesting client’s IP and MAC addresses match a binding on
it (both dynamic and static bindings). If not, the client cannot access outside networks
via the DHCP relay agent.
Follow these steps to create a static binding and enable IP address check:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a static binding
dhcp relay security static
ip-address
mac-address
Optional
No static binding is
created by default.
Enter interface view
interface
interface-type
interface-number
—
Enable invalid IP
address check
dhcp relay address-check
{
disable
|
enable
}
Required
Disabled by default.