ip dhcp-server
Enables or disables the DHCP server on an interface.
Syntax
Syntax Description
Keyword
Description
no
(Optional) This is the same as ip dhcp-server off.
off
Disables the DHCP server on the interface.
on
Enables the DHCP server on the interface.
Defaults
The DHCP server is enabled on LAN interfaces and disabled on WAN interfaces by default.
Usage Guidelines
The DHCP server is responsible for assigning IPv4 address and related options to clients on a connected network.
This command is valid only in interface context. Entering it will set the interface mode to manual
.
Examples
Related Commands
interfaceip dhcp-leaseip dhcp-scopeLast updated