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


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


Fat AP and Cloud AP V200R010C00 Command Reference

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).
dhcp option82 encapsulation

dhcp option82 encapsulation


The dhcp option82 encapsulation command configures suboptions inserted into the DHCP Option 82 field.

The undo dhcp option82 encapsulation command restores the default suboptions inserted into the DHCP Option 82 field.

By default, the circuit-id (CID) and remote-id (RID) suboptions are inserted into the DHCP Option 82 field.


dhcp option82 encapsulation { circuit-id | remote-id | subscriber-id | vendor-specific-id } *

undo dhcp option82 encapsulation


Parameter Description Value

Inserts the circuit-id suboption.


Inserts the remote-id suboption.


Inserts the subscriber-id (SID) suboption.


Inserts the vendor-specific suboption in the Sub9 field.



System view, VLAN view, interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This function applies to a DHCP relay agent or a DHCP snooping-enabled device. 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. The administrator can run this command to configure the device to insert one or more of the circuit-id suboption, remote-id suboption, subscriber-id suboption, and vendor-specific suboption in the Sub9 field into the DHCP Option 82 field. After the command is run, suboptions that are not configured to be inserted are not inserted into the DHCP Option 82 field by default.


The DHCP function has been enabled in the system view using the dhcp enable command.


# Insert the circuit-id suboption into the DHCP Option 82 field.

<Huawei> system-view
[Huawei] dhcp option82 encapsulation circuit-id 
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207967

Downloads: 122

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