ip dhcp-monitor

Enables or disables the DHCP monitor service on an interface.

Syntax

[no] ip dhcp-monitor off|on

Syntax Description

Keyword
Description

no

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

off

Disables the DHCP monitor on the interface.

on

Enables the DHCP monitor on the interface.

Defaults

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

Usage Guidelines

The DHCP monitor service watches for rogue DHCP servers on an interface and issues a warning if one is found.

If both DHCP monitor and DHCP client are enabled on the same interface, DHCP client has precedence and DHCP monitor will be not run.

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

Examples

ip dhcp-monitor on
interfaceip dhcp-client

Last updated