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).
ip route-static default-preference

ip route-static default-preference

Function

The ip route-static default-preference command sets the default preference for IPv4 static routes.

The undo ip route-static default-preference command restores the default preference value of IPv4 static routes.

By default, the default preference of IPv4 static routes is 60.

Format

ip route-static default-preference preference

undo ip route-static default-preference

Parameters

Parameter Description Value
preference Specifies the default preference for IPv4 static routes. The value is an integer that ranges from 1 to 255.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can change the preference of a static route to change the status of the route. To change the default preference of a new IPv4 static route, run the ip route-static default-preference command.

Example

# Set the default preference of IPv4 static routes to 70.

<Huawei> system-view
[Huawei] ip route-static default-preference 70
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 194965

Downloads: 118

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