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

Examples

Setting maximum number of ECMP routes:

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

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

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