H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration
3-31
To do… Use the command… Remarks
Configure the maximum
number of equivalent
load-balanced routes
maximum
load-balancing
maximum
Optional
The default number is 4.
3.6.8 Configuring a Priority for OSPF
A router may run multiple routing protocols, and it sets a priority for each protocol.
When a route found by several routing protocols, the route found by the protocol with
the highest priority will be selected.
Follow these steps to configure a priority for OSPF:
To do… Use the command… Remarks
Enter system view
system-view
Enter OSPF view
ospf [ process-id |
router-id router-id ] *
Configure a priority
for OSPF
preference [ ase ]
[ route-policy
route-policy-name ] value
Optional
The priority of OSPF internal
routes defaults to 10.
The priority of OSPF external
routes defaults to 150.
3.6.9 Configuring OSPF Route Redistribution
Follow these steps to configure OSPF route redistribution:
To do… Use the command… Remarks
Enter system view
system-view
Enter OSPF view
ospf [ process-id |
router-id router-id ] *
Configure OSPF to
redistribute routes from
another protocol
import-route protocol
[ process-id | allow-ibgp ]
[ cost cost | type type |
tag tag | route-policy
route-policy-name ]*
Required
Not configured by default
Configure OSPF to filter
redistributed routes
before advertisement
filter-policy { acl-number
| ip-prefix
ip-prefix-name } export
[ protocol [ process-id ] ]
Optional
Not configured by default