maximum-paths (OSPF)

Changes the maximum number of OSPF shared paths.

Syntax

maximum-paths num
no maximum-paths

Parameters

num
Maximum number of paths across which the device balances traffic to a given OSPF destination. The range is from 1 through 64. The default is 8.

Modes

OSPF router configuration mode

OSPFv3 router configuration mode

OSPF router VRF configuration mode

OSPFv3 router VRF configuration mode

Usage Guidelines

The no form of the command restores the default.

Examples

The following example sets the maximum number of shared paths to 22.

device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# maximum-paths 22