Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 2 DHCP Relay Agent Configuration
Commands
2-5
Description
Use the
dhcp relay information strategy
command to configure DHCP relay agent
handling strategy for messages containing Option 82.
Use the
undo dhcp relay information strategy
command to restore the default
handling strategy.
The handling strategy for messages containing Option 82 defaults to
replace
.
Examples
# Configure the DHCP relay agent handling strategy for messages containing Option
82 as
keep
.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp relay information enable
[Sysname-Vlan-interface1] dhcp relay information strategy keep
2.1.6 dhcp relay release
Syntax
dhcp relay release
ip
client-ip
View
System view
Parameters
client-ip
: DHCP client IP address.
Description
Use the
dhcp relay release
ip
command to request the DHCP server to release a
specified client IP address.
Examples
# Request the DHCP server to release the IP address 1.1.1.1.
<Sysname> system-view
[Sysname] dhcp relay release ip 1.1.1.1
2.1.7 dhcp relay security static
Syntax
dhcp relay security static ip-address
mac
-
address
[
interface interface-type
interface-number
]