ip dhcp-client

Enables or disables the DHCP client on an interface.

Syntax

[no] ip dhcp-client off|on

Syntax Description

Keyword
Description

no

(Optional) This is the same as ip dhcp-client off.

off

Disables the DHCP client on the interface.

on

Enables the DHCP client on the interface.

Defaults

The DHCP client is enabled on WAN interfaces and disabled on LAN interfaces by default.

Usage Guidelines

This command enables the DHCP client on an interface, allowing Island to obtain the IPv4 address and other options from an external DHCP server.

This command is valid only in interface context. Entering it will set the interface mode to manual.

Examples

ip dhcp-client on
interface

Last updated