Common Operation (DHCP):Preventing a Device from Obtaining an IP Address from a

Latest reply: Mar 30, 2016 07:04:30 910 1 0 0

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.

Common Operation (DHCP):Preventing a Device from Obtaining an IP Address from a-1230807-1 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

 

 

 

More Information: S Series Switches Common Operation Guide

  • x
  • convention:

user_1763575
Created Mar 30, 2016 07:04:30 Helpful(0) Helpful(0)

Thanks!
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login