Displaying and maintaining ospf, Specifying a preference for is-is, Configuring the maximum number of ecmp routes – H3C Technologies H3C S12500-X Series Switches User Manual
Page 148
134
Step Command
Remarks
3.
(Optional.) Specify
an IS-IS cost style.
cost-style { narrow | wide | wide-compatible |
{ compatible | narrow-compatible }
[ relax-spf-limit ] }
By default, the IS-IS cost style
is narrow.
4.
Specify a global
IS-IS cost.
circuit-cost value [ level-1 | level-2 ]
By default, no global cost is
specified.
548B
Enabling automatic IS-IS cost calculation
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IS-IS view.
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3.
Specify an IS-IS cost style. cost-style { wide | wide-compatible } By default, the IS-IS cost is narrow.
4.
Enable automatic IS-IS cost
calculation.
auto-cost enable
By default, automatic IS-IS cost
calculation is disabled.
5.
(Optional.) Configure a
bandwidth reference value
for automatic IS-IS cost
calculation.
bandwidth-reference value
The default setting is 100 Mbps.
261B
Specifying a preference for IS-IS
If multiple routing protocols find routes to the same destination, the route found by the routing protocol
that has the highest preference is selected as the optimal route.
Perform this task to assign a preference to IS-IS directly or by using a routing policy. For more information
about the routing policy, see "
1042H
Configuring routing policies
."
To configure a preference for IS-IS:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IS-IS view.
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3.
Configure a preference for
IS-IS.
preference { preference | route-policy
route-policy-name } *
The default setting is
15.
262B
Configuring the maximum number of ECMP routes
Perform this task to implement load sharing over ECMP routes.
To configure the maximum number of ECMP routes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A