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).
Inserting the Option 82 Field in a DHCP Message

Inserting the Option 82 Field in a DHCP Message

Context

The Option 82 field records the location of a DHCP client. A device inserts the Option 82 field to a DHCP Request message to notify the DHCP server of the DHCP client location. The DHCP server can assign an IP address and other configurations to the DHCP client, ensuring DHCP client security.

NOTE:

DHCP Option 82 must be configured on the user-side of a device; otherwise, the DHCP message sent to the DHCP server will not carry Option 82.

Procedure

  1. Run system-view

    The system view is displayed.

  2. You can configure the device to insert the Option 82 field in a DHCP message in the interface view or VLAN view. If the configuration is performed in the VLAN view, the configuration takes effect for all DHCP messages from this VLAN that are received by the interface. If the configuration is performed in the interface view, the configuration takes effect only for the specified interface.

    View

    Steps

    VLAN view

    1. Run the vlan vlan-id command to enter the VLAN view.
    2. Run the dhcp option82 { insert | rebuild } enable command to enable the device to insert the Option 82 field in a DHCP message.

      By default, the device is disabled from inserting the Option 82 field in a DHCP message.

    3. Run the quit command to return to the system view.

    Interface view

    1. Run the interface interface-type interface-number command to enter the interface view.

    2. Run the dhcp option82 { insert | rebuild } enable command to enable the device to insert the Option 82 field in a DHCP message.

      By default, the device is disabled from inserting the Option 82 field in a DHCP message.

    3. Run the quit command to return to the system view.

  3. (Optional) You can configure the format of the Option 82 field in the system or interface view. If the configuration is performed in the system view, the configuration takes effect for all interfaces on the device. If the configuration is performed in the interface view, the configuration takes effect only for the specified interface.

    View

    Steps

    System view

    1. Run the dhcp option82 [ circuit-id | remote-id ] format { default | common | extend | user-defined text } command to configure the format of the Option 82 field in a DHCP message.

      By default, the format of the Option 82 field in a DHCP message is default.

    Interface view

    1. Run the interface interface-type interface-number command to enter the interface view.

    2. Run the dhcp option82 [ vlan vlan-id ] [ circuit-id | remote-id ] format { default | common | extend | user-defined text } command to configure the format of the Option 82 field in a DHCP message.
      By default, the format of the Option 82 field in a DHCP message is default.
      NOTE:

      Layer 3 Ethernet interfaces do not support the vlan parameter.

  4. Run commit

    The configuration is committed.

Verifying the Configuration

  • Run the display dhcp option82 configuration [ vlan vlan-id | interface interface-type interface-number ] command to view the DHCP Option 82 configuration.
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074765

Views: 18908

Downloads: 64

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