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

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
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).
Preventing a Device from Obtaining an IP Address from a Pseudo DHCP Server

Preventing a Device from Obtaining an IP Address from a Pseudo DHCP Server

On the Layer 2 access device or the first DHCP relay device, configure DHCP snooping to prevent the device from obtaining an IP address from a pseudo DHCP server.

NOTE:
  • For a Layer 2 access device, steps 1-3 are mandatory. Configure this function in sequence.

  • For a DHCP relay device, only steps 1 and 2 are mandatory.

  1. Enable DHCP snooping globally.

    <HUAWEI> system-view
    [HUAWEI] dhcp enable
    [HUAWEI] dhcp snooping enable
  2. Enable DHCP snooping on the interface connected to the DHCP client (configuring all interfaces connected to the DHCP client and using GE1/0/1 as an example).

    [HUAWEI] interface gigabitethernet 1/0/1
    [HUAWEI-GigabitEthernet1/0/1] dhcp snooping enable
    [HUAWEI-GigabitEthernet1/0/1] quit
  3. Configure the interface connected to the DHCP server as a trusted interface.

    [HUAWEI] interface gigabitethernet 1/0/2
    [HUAWEI-GigabitEthernet1/0/2] dhcp snooping trusted
    [HUAWEI-GigabitEthernet1/0/2] quit
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 84929

Downloads: 12115

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