The maximum-routes command sets the maximum number of routes of different types that OSPF supports.
The undo maximum-routes command restores the default maximum number of routes of different types that OSPF supports.
By default, OSPF supports a maximum number of 5000000 external routes, 1000000 inter-area routes, and 100000 intra-area routes.
maximum-routes { external | inter | intra } number
undo maximum-routes { external | inter | intra }
| Parameter | Description | Value |
|---|---|---|
| external | Indicates the maximum number of external routes that OSPF supports. | - |
| inter | Indicates the maximum number of inter-area routes that OSPF supports. | - |
| intra | Indicates the maximum number of intra-area routes that OSPF supports. | - |
| number | Specifies the maximum number of routes of different types. | The value is an integer.
|
Usage Scenario
Based on the real world situation of a network such as the convergence speed, the maximum-routes command configures the maximum number of routes of different types to make full use of network resources and improve network performance.
Precautions
The maximum number of routes supported by OSPF cannot exceed the maximum number of all routes supported by the FW.
The maximum number of routes configured by the maximum-routes command is the maximum number of routes sent by the FW. Therefore, the number of LSAs received by the FW will not be effected.