< Home

maximum-routes

Function

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.

Format

maximum-routes { external | inter | intra } number

undo maximum-routes { external | inter | intra }

Parameters

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.
  • When configuring the external parameter, the value of number is an integer ranging from 100 to 5000000. The default value is 5000000.
  • When configuring the inter parameter, the value of number is an integer ranging from 100 to 1000000. By default, the value is 1000000.
  • When configuring the intra parameter, the value of number is an integer ranging from 100 to 100000. By default, the value is 100000.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the maximum number of routes that OSPF supports to 500.

<sysname> system-view 
[sysname] ospf 100
[sysname-ospf-100] maximum-routes intra 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >