Configuring a DHCP packet blocking port

Perform this task to configure a port as a DHCP packet blocking port. This blocking port drops all incoming DHCP requests.

To configure a DHCP packet blocking port:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the port to block DHCP requests.

dhcp snooping deny

By default, the port does not block DHCP requests.