No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
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).
(Optional) Setting the Default Preference for IPv4 Static Routes
(Optional) Setting the Default Preference for IPv4 Static Routes
Context
The default preference of IPv4 static routes affects route
selection. When an IPv4 static route is configured, the default preference
is used if no preference is specified for the static route.
Procedure
Run system-view
The system view is displayed.
Run ip route-static default-preferencepreference
The default preference
of static routes is set.
By default, the preference of static routes is 60.
After the default preference is reconfigured,
the new default preference is valid only for new IPv4 static routes.