![H3C S5500-EI series Configuration Manual Download Page 101](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960101.webp)
84
Configuring the maximum number of OSPF routes
Follow these steps to configure the maximum number of routes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Configure the maximum number of
OSPF routes
maximum-routes
{
external
|
inter
|
intra
}
number
Optional
The number varies with
devices.
Configuring the maximum number of load-balanced routes
If several equal-cost routes to the same destination are available, you can configure them as
load-balanced routes to improve link utilization.
Follow these steps to configure the maximum number of load-balanced routes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Configure the maximum number of
load-balanced routes
maximum load-balancing
maximum
Optional
8 by default
Configuring OSPF preference
A router can run multiple routing protocols, and each protocol is assigned a preference. When the
routing protocols find routes to the same destination, the route found by the protocol with the highest
preference is selected as the best route.
Follow these steps to configure OSPF preference:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Configure a preference for
OSPF
preference
[
ase
] [
route-policy
route-policy-name
]
value
Optional
By default, the preference of OSPF
internal routes is 10, and the preference
of OSPF external routes is 150.