Owner's Manual

52
DHCP RELAY AGENT CONFIGURATION
COMMANDS
n
The DHCP relay agent configuration is supported only on the Layer 3 Ethernet
interface (or subinterface), virtual Ethernet interface, VLAN interface, and serial
interface.
DHCP Snooping cannot be configured on the DHCP relay agent.
dhcp enable
Syntax dhcp enable
undo dhcp enable
View System view
Parameter None
Description Use the
dhcp enable command to enable DHCP.
Use the undo dhcp enable command to disable DHCP.
By default, DHCP is disabled.
n
For both DHCP server and relay agent configuration, enabling DHCP first is
necessary to make other configurations take effect.
Example # Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable
dhcp relay address-check
Syntax dhcp relay address-check { disable | enable }
View Interface view
Parameter disable: Disables IP address match checking on the relay agent.
enable: Enables IP address match checking on the relay agent.