52
dhcp enable
Syntax
View
Parameter
Description
Example
dhcp relay address-check
Syntax
View
Parameter
DHCP R
C
OMMANDS
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
undo dhcp enable
System view
None
Use the
dhcp enable
Use the
undo dhcp enable
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.
# Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable
dhcp relay address-check { disable | enable }
Interface view
disable: Disables IP address match checking on the relay agent.
enable: Enables IP address match checking on the relay agent.
A
ELAY
GENT
command to enable DHCP.
command to disable DHCP.
C
ONFIGURATION