maximum-paths

Syntax

maximum-paths <MAX-VALUE>

no maximum-paths

Description

Sets the maximum number of ECMP routes that OSPF can support.

The no form of this command sets the maximum number of ECMP routes that OSPF can support to the default value of 4.

Command context

config-ospf

Parameters

<MAX-VALUE>

Specifies the maximum number of ECMP routes. Default: 4. Range: 1-8.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting maximum number of ECMP routes:

switch(config)# router ospf 1
switch(config-ospf-1)# maximum-paths 8

Setting maximum number of ECMP routes to the default of 4:

switch(config)# router ospf 1
switch(config-ospf-1)# no maximum-paths