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 client default-route preference

dhcp client default-route preference

Function

The dhcp client default-route preference command configures the default route preference that a DHCP server delivers to a DHCP client.

The undo dhcp client default-route preference command restores the default value of the default route preference that a DHCP server delivers to a DHCP client.

By default, the default route preference that a DHCP server delivers to a DHCP client is 60.

Format

dhcp client default-route preference preference-value

undo dhcp client default-route preference

Parameters

Parameter

Description

Value

preference-value

Specifies the default route preference.

The value is an integer that ranges from 1 to 255. A smaller value indicates a higher preference.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

A DHCP client can obtain the default route through the DHCP server to dynamically update the routing table. The next-hop address of the default route is the DHCP client's gateway address carried in Option3.

The default route that a DHCP server delivers is the user network router (UNR) route with the default preference 60. You can run the dhcp client default-route preference command to change the default route preference.

Example

# In the view of VLANIF100, set the default route preference that a DHCP server delivers to a DHCP client to 30.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] dhcp client default-route preference 30
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207094

Downloads: 122

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