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

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

Function

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.

Format

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

undo dhcp option82 encapsulation

Parameters

Parameter Description Value
circuit-id

Inserts the circuit-id suboption.

-
remote-id

Inserts the remote-id suboption.

-
subscriber-id

Inserts the subscriber-id (SID) suboption.

-
vendor-specific-id

Inserts the vendor-specific suboption in the Sub9 field.

-

Views

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.

Prerequisites

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

Example

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

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

Document ID: EDOC1100064352

Views: 207967

Downloads: 122

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