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).
option121

option121

Function

The option121 command configures the classless static route for the DHCP client.

The undo option121 command deletes a configured classless static route.

By default, no classless static route is configured.

Format

option121 ip-address { ip-address mask-length gateway-address } &<1-8>

undo option121 [ ip-address ip-address mask-length gateway-address ]

Parameters

Parameter

Description

Value
ip-address Specifies the destination IP address. The value is in dotted decimal notation.
mask-length Specifies the mask length. The value is an integer that ranges from 0 to 32.
gateway-address Specifies the gateway address of a route. The value is in dotted decimal notation.

Views

IP address pool view, DHCP Option template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The option121 command applies to only the DHCP server. The option121 command configures Option 121 that defines a classless static route allocated to a client.

mask-length and gateway-address specify a classless static route. The option121 command configures a maximum of eight classless static routes.

Precautions

  • To configure multiple classless static routes, run the option121 command repeatedly.

  • The undo option121 command will delete all classless static routes. To delete one classless static route, run the undo option121 ip-address ip-address mask-length gateway-address command.

Example

# In the IP address pool view, configure classless static routes delivered by the DHCP server.
<Huawei> system-view
[Huawei] ip pool global1
[Huawei-ip-pool-global1] option121 ip-address 10.10.10.10 24 10.11.11.11
# In the DHCP Option template view, configure classless static routes delivered by the DHCP server.
<Huawei> system-view
[Huawei] dhcp option template template1
[Huawei-dhcp-option-template-template1] option121 ip-address 10.10.10.10 24 10.11.11.11
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 195582

Downloads: 118

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