dhcp-snooping

Syntax

dhcp-snooping

undo dhcp-snooping

View

System view

Default level

2: System level

Parameters

None

Description

Use dhcp-snooping to enable DHCP snooping.

Use undo dhcp-snooping to disable DHCP snooping.

With DHCP snooping disabled, all ports can forward responses from any DHCP servers and does not record binding information about MAC addresses of DHCP clients and the obtained IP addresses.

By default, DHCP snooping is disabled.

Related commands: display dhcp-snooping.

Examples

# Enable DHCP snooping.

<Sysname> system-view
[Sysname] dhcp-snooping