H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 2 DHCP Relay Agent Configuration Commands
2-3
By default, freely-connected clients are not allowed to pass DHCP security check.
Freely-connected clients refer to the clients whose IP addresses and MAC addresses
are not in the DHCP security table.
This configuration will take effect only after the address checking function of the DHCP
relay agent on the VLAN interface is enabled.
Examples
# Configure to not allow freely-connected clients to pass DHCP security check on
VLAN-interface 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] address-check enable
[H3C-Vlan-interface1] address-check no-matched enable
2.1.4 dhcp relay information enable
Syntax
dhcp relay information enable
undo dhcp relay information enable
View
System view
Parameters
None
Description
Use the dhcp relay information enable command to enable option 82 supporting on a
DHCP relay agent, through which you can enable the DHCP relay agent to insert option
82 into DHCP request packets sent to a DHCP server.
Use the undo dhcp relay information enable command to disable option 82
supporting on a DHCP relay agent, through which you can disable the DHCP relay
agent from inserting option 82 into DHCP request packets sent to a DHCP server.
By default, this function is disabled.
Related commands: dhcp relay information strategy.
Examples
# Enable option 82 supporting on a DHCP relay agent.
<H3C> system-view