2
DHCP Relay Agent Configuration Commands
DHCP Relay Agent Configuration Commands
address-check
Syntax
address-check enable
address-check disable
View
VLAN interface view
Parameters
None
Description
Use the address-check enable command to enable IP address match checking on the DHCP relay
agent. After this feature is enabled, the DHCP relay agent can cooperate with the ARP module to check
whether a requesting client's IP and MAC addresses match a binding on the DHCP relay agent; if not,
the client cannot access outside networks via the DHCP relay agent.
Use the address-check disable command to disable IP address match checking on the DHCP relay
agent.
By default, IP address match checking on the DHCP relay agent is disabled.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Enter VLAN-interface 1 view.
[Sysname] interface vlan-interface 1
# Enable IP address match checking on VLAN-interface 1 of the DHCP relay agent.
[Sysname-Vlan-interface1] address-check enable
dhcp-relay hand
Syntax
dhcp relay hand enable
dhcp relay hand disable
2-1