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) Configuring Static Route Selection Based on Iteration
Depth
(Optional) Configuring Static Route Selection Based on Iteration
Depth
Context
Route iteration refers to the process of finding the directly-connected
outbound interface based on the next hop of a route. The iteration
depth indicates the number of times the system searches for routes.
A smaller number of route iterations indicates a smaller iteration
depth.
When there are multiple static routes with the same prefix
but different iteration depths, the system selects the static route
with the smallest iteration depth as the active route and delivers
it to the FIB table after static route selection based on iteration
depth is configured. The other static routes then become inactive.
A smaller iteration depth indicates a more stable route.
Procedure
Run system-view
The system view is displayed.
Run ip route-static selection-rule relay-depth
Static route selection based on iteration depth
is configured.
By default, static routes are not selected based on iteration
depth.