This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides configuration examples.
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).
Configuring Equal-Cost IS-IS Routes
Configuring Equal-Cost IS-IS Routes
Context
If there are redundant IS-IS links, multiple routes may have an equal cost. Choose either of the following methods to use these equal-cost IS-IS routes:
Configure load balancing for equal-cost IS-IS routes so that traffic will be evenly balanced among these links.
This mechanism increases the link bandwidth usage and prevents network congestion caused by link overload. However, this mechanism may make traffic management more difficult because traffic will be randomly forwarded.
Configure preference values for equal-cost IS-IS routes so that only the route with the highest preference will be used and the others function as backups.
This configuration facilitates traffic management and improves the network reliability, without the need to change original configurations.
Procedure
Configure equal-cost IS-IS routes to work in load-balancing mode.
Run system-view
The system view is displayed.
Run isis [ process-id ]
The IS-IS view is displayed.
Run maximum load-balancingnumber
The maximum number of load-balancing equal-cost IS-IS routes is set.
By default, the maximum number of equal-cost routes on the S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720S-SI or S5720SI is 8, and the maximum number of equal-cost routes on the S5720EI, S5720HI, S6720S-EI, or S6720EI is 16.
NOTE:
When the number of equal-cost routes is greater than number specified in the maximum load-balancing command, valid routes are selected for load balancing based on the following criteria:
Route preference: Routes with lower preference value (higher preference) are selected for load balancing.
Next hop System ID: If routes have the same priorities, routes with smaller System ID are selected for load balancing.
Interface index: If routes have the same priorities and System ID, routes with lower interface index values are selected for load balancing.
Configure preference values for equal-cost IS-IS routes.
Run system-view
The system view is displayed.
Run isis [ process-id ]
The IS-IS view is displayed.
Run nexthopip-addressweightvalue
A preference value is configured for an equal-cost IS-IS route.
By default, the preference value configured for equal-cost IS-IS routes is 255. A smaller value indicates a higher priority.