dhcp snooping deny

Use dhcp snooping deny to configure a port as DHCP packet blocking port.

Use undo dhcp snooping deny to restore the default.

Syntax

dhcp snooping deny

undo dhcp snooping deny

Default

A port does not block DHCP requests.

Views

Layer 2 Ethernet interface/Layer 2 aggregate interface view

S-channel interface/S-channel aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

A DHCP packet blocking port drops all incoming DHCP requests.

Examples

# Configure as a DHCP packet blocking port.

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