No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Security

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, separating the management plane from the service plane, security risks.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling DHCP Snooping

Enabling DHCP Snooping

Context

DHCP snooping ensures security of the DHCP service. Before configuring DHCP snooping functions, you need to enable DHCP snooping.

You must enable DHCP snooping in the system view, and then on an interface or in a VLAN.

NOTE:

Use the dhcp enable command to enable DHCP globally before enabling DHCP snooping.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dhcp snooping enable

    DHCP snooping is globally enabled.

    By default, DHCP snooping is globally disabled on the device.

  3. Enable DHCP snooping in the system, VLAN, or interface view.

    • In the system view:

    1. Run dhcp snooping enable vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

      DHCP snooping is enabled on the device.

      By default, DHCP snooping is disabled on the device.

    • In the VLAN view or interface view:

    1. Run vlan vlan-id

      The VLAN view is displayed.

      Or run interface interface-type interface-number

      The interface view is displayed.

    2. Run dhcp snooping enable

      DHCP snooping is enabled on the interface or in a VLAN.

      By default, DHCP snooping is disabled on the device.

      NOTE:

      If you run this command in the VLAN view, the command takes effect on all the DHCP messages received by all interfaces from the specified VLAN. If you run this command in the interface view, the command takes effect on all the DHCP messages received by the specified interface.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074765

Views: 18676

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next