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 relay information enable

dhcp relay information enable

Function

The dhcp relay information enable command enables the Option 82 function for the DHCP relay agent.

The undo dhcp relay information enable command disables the Option 82 function for the DHCP relay agent.

By default, the Option 82 function is disabled for the DHCP relay agent.

Format

dhcp relay information enable

undo dhcp relay information enable

Parameters

None

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to the DHCP relay agent. When DHCP Request messages carry Option 82 information, the DHCP server can locate user positions accurately and assign IP addresses to users using different policies. After the Option 82 function is enabled on the DHCP relay agent, the device checks the Option 82 field contained in the packets and processes the packets using corresponding policies.

Prerequisites

DHCP has been enabled by running the dhcp enable command in the system view.

DHCP relay has been enabled by running the dhcp select relay command in the interface view.

Follow-up Tasks

Run the dhcp relay information strategy { drop | keep | replace } command in the interface view to configure strategies for the DHCP relay agent to process Option 82 information.

Example

# Enable the Option 82 function for the DHCP relay agent on the VLANIF100 interface.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] vlan 100
[Huawei-vlan100] quit
[Huawei] interface vlanif 100
[Huawei-Vlanif100] dhcp select relay
[Huawei-Vlanif100] dhcp relay information enable
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 206864

Downloads: 122

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