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.
maximum-routes { external | inter | intra } number
undo maximum-routes { external | inter | intra }
Parameter | Description | Value |
---|---|---|
external | Indicates the maximum number of AS 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, you can run the maximum-routes command to configure the maximum number of routes of different types. This ensures full use of network resources and improves network performance.
Precautions
The maximum number of routes supported by OSPF cannot exceed the maximum number of all routes supported by the switch.
The maximum-routes command configuration limits the maximum number of routes that can be locally calculated. Therefore, the command configuration affects the maximum number of routes that can be sent, but does not affect the maximum number of LSAs that can be received.