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).
force insert option

force insert option

Function

The force insert option command configures a DHCP server to forcibly insert an Option field specified in the global address pool or DHCP Option template to a DHCP Response packet that it sends to a DHCP client.

The undo force insert option command deletes the Option field forcibly inserted to a DHCP Response packet that a DHCP server sends to a DHCP client.

By default, a DHCP server does not forcibly insert an Option field to a DHCP Response packet that it sends to a DHCP client.

Format

force insert option code &<1-254>

undo force insert option code &<1-254>

Parameters

Parameter

Description

Value

code

Specifies the code for a forcibly replied option. You can configure a DHCP server to forcibly reply one or more options.

The value is an integer that ranges from 1 to 254.

Views

IP address pool view, DHCP Option template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a DHCP client applies for an IP address from a DHCP server, parameters contained in the DHCP Request packet specify the options the client requires. The DHCP server inserts the required options to a DHCP Response packet.

Sometimes, the DHCP server on the existing network receives a DHCP Request packet that contains no parameter specifying the options the client requires. However, the client still wants to obtain the options configured on the global address pool. You can run the force insert option code &<1-254> command to configure the DHCP server to forcibly insert an Option field to the DHCP Response packet.

Prerequisites

The Option field has been configured in the global address pool by running the option code [ sub-option sub-code ] { ascii ascii-string | hex hex-string | cipher cipher-string | ip-address ip-address &<1-8> } command in the global address pool view.

Example

# Configure a DHCP server to forcibly insert Option 4 to a DHCP Response packet in the address pool pool1.

<Huawei> system-view
[Huawei] ip pool pool1
[Huawei-ip-pool-pool1] option 4 hex 11 22
[Huawei-ip-pool-pool1] force insert option 4
# Configure a DHCP server to forcibly insert Option 4 to a DHCP Response packet in the DHCP Option template template1.
<Huawei> system-view
[Huawei] dhcp option template template1
[Huawei-dhcp-option-template-template1] option 4 hex 11 22
[Huawei-dhcp-option-template-template1] force insert option 4
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 194707

Downloads: 118

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