Disabling DHCP snooping on an interface

About disabling DHCP snooping on an interface

This feature allows you to narrow down the interface range where DHCP snooping takes effect. For example, to make DHCP snooping enable globally except for a specific interface, you can enable DHCP snooping globally and disable DHCP snooping on the target interface.

Procedure

  1. Enter system view.

    system-view

  2. Enter interface view.

    interface interface-type interface-number

  3. Disable DHCP snooping on the interface.

    dhcp snooping disable

    By default:

    • If you enable DHCP snooping globally or for a VLAN, DHCP snooping is enabled on all interfaces on the device or on all interfaces in the VLAN.

    • If you do not enable DHCP snooping globally or for a VLAN, DHCP snooping is disabled on all interfaces on the device or on all interfaces in the VLAN.