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 request server-match enable

dhcp relay request server-match enable

Function

The dhcp relay request server-match enable command configures a DHCP relay agent to check the DHCP server identifier (Option54) in a DHCP Request message to be forwarded.

The undo dhcp relay request server-match enable command configures a DHCP relay agent not to check the DHCP server identifier (Option54) in a DHCP Request message to be forwarded.

By default, a DHCP relay agent checks the DHCP server identifier (Option54) in a DHCP Request message to be forwarded.

Format

dhcp relay request server-match enable

undo dhcp relay request server-match enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

During the four-message exchange process, the DHCP Offer message sent by a DHCP server carries the DHCP server identifier (Option54) to identify the server. After receiving the DHCP Offer message, the DHCP client records the DHCP server identifier and carries it in the DHCP Request message to be replied to indicate which DHCP server is selected. When the DHCP relay agent forwards the DHCP Request message, it checks the DHCP server identifier in the message and forwards the message only to the corresponding DHCP server.

If multiple DHCP servers are deployed on the network and the design of a server does not comply with standards, the DHCP server identifier carried in the DHCP Offer message to be sent by the server is not its identifier. As a result, the DHCP server identifier carried in the DHCP Request message is incorrect, the DHCP relay agent forwards the message to an incorrect DHCP server rather than the matching DHCP server, and the client fails to obtain an IP address.

To resolve this issue, you can run the undo dhcp relay request server-match enable command, so that the DHCP relay agent does not check the DHCP server identifier (Option54) in the DHCP Request message to be forwarded and forwards the message to all relayed DHCP servers, ensuring that the matching DHCP server can receive the DHCP Request message.

Prerequisites

DHCP has been enabled globally using the dhcp enable command.

Example

# Configure a DHCP relay agent not to check the DHCP server identifier (Option54) in a DHCP Request message to be forwarded.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] undo dhcp relay request server-match enable
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 194647

Downloads: 118

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