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

S7700 and S9700 V200R011C10

This document describes the configurations of Security, including ACL, reflective ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, 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 18 or Option 37 Field in a DHCPv6 Message

Inserting the Option 18 or Option 37 Field in a DHCPv6 Message

Context

The function of inserting the Option 18 or Option 37 field in a DHCPv6 message is similar to that of inserting the Option 82 field in a DHCPv4 message. The Option 18 field contains the interface ID of a client and the Option 37 field contains the MAC address of a client. A device inserts the Option 18 or Option 37 field to a DHCPv6 Request message to notify the DHCP server of the DHCPv6 client location. This allows the DHCP server to assign an IP address and other configurations to the DHCPv6 client, facilitating DHCP client security.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run dhcpv6 { option18 | option37 } { insert | rebuild } enable

    The device is enabled to insert the Option 18 or Option 37 field to a DHCPv6 Request message.

    By default, the device is disabled from inserting the Option 18 or Option 37 field in a DHCPv6 message.

    NOTE:

    If you run the dhcpv6 { option18 | option37 } enable command in the VLAN view, the command takes effect for all the DHCPv6 messages received from the specified VLAN. If you run the dhcpv6 { option18 | option37 } enable command in the interface view, the command takes effect for all the DHCPv6 messages received on the specified interface.

  4. Run quit

    Return to the system view.

  5. (Optional) You can configure the format of Option 18 field inserted in DHCPv6 messages in the system view, VLAN view, or interface view.

    • In the system view:
      1. Run dhcpv6 option18 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 18 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 18 field inserted in DHCPv6 messages is not configured.

    • In the VLAN view:
      1. Run vlan vlan-id

        The VLAN view is displayed.

      2. Run dhcpv6 option18 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 18 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 18 field inserted in DHCPv6 messages is not configured.

    • In the interface view:
      1. Run interface interface-type interface-number

        The interface view is displayed.

      2. Run dhcpv6 option18 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 18 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 18 field inserted in DHCPv6 messages is not configured.

    NOTE:

    If you run the dhcpv6 option18 format command in the system view, the command takes effect for the Option 18 field in all DHCPv6 messages. If you run the dhcpv6 option18 format command in the VLAN view, the command takes effect for the Option 18 field in all DHCPv6 messages received from the specified VLAN. If you run the dhcpv6 option18 format command in the interface view, the command takes effect for the Option 18 field in all DHCPv6 messages received on the specified interface.

  6. (Optional) Configure the format of Option 37 field inserted in DHCPv6 messages in the system view, VLAN view, or interface view.

    • In the system view:
      1. Run dhcpv6 option37 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 37 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 37 field inserted in DHCPv6 messages is not configured.

    • In the VLAN view:
      1. Run vlan vlan-id

        The VLAN view is displayed.

      2. Run dhcpv6 option37 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 37 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 37 field inserted in DHCPv6 messages is not configured.

    • In the interface view:
      1. Run interface interface-type interface-number

        The interface view is displayed.

      2. Run dhcpv6 option37 [ vlan vlan-id ] [ ce-vlan ce-vlan-id ] format user-defined text

        The format of Option 37 field inserted in DHCPv6 messages is configured.

        By default, the format of Option 37 field inserted in DHCPv6 messages is not configured.

    NOTE:

    If you run the dhcpv6 option37 format command in the system view, the command takes effect for the Option 37 field in all DHCPv6 messages. If you run the dhcpv6 option37 format command in the VLAN view, the command takes effect for the Option 37 field in all DHCPv6 messages received from the specified VLAN. If you run the dhcpv6 option37 format command in the interface view, the command takes effect for the Option 37 field in all DHCPv6 messages received on the specified interface.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178319

Views: 136024

Downloads: 78

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