890 OSPF Commands
Syntax
maximum-paths 
integer
no maximum-paths
•
integer
 — Number of paths that OSPF can report for a given destination. 
(Range: 1–4.)
Default Configuration
4 is the 
integer 
default value.
Command Mode
Router OSPF Configuration mode.
User Guidelines
OSPF is only enabled on an interface if the primary IPv4 address on the 
interface matches a network area range. Any individual interface can only be 
attached to a single area. If an interface address matches multiple network 
area ranges, the interface is assigned to the area for the first matching range. 
If the ip ospf area command is given for an interface, it overrides any 
matching network area command. 
OSPF only advertises IP subnets for secondary IP addresses if the secondary 
address is within the range of a network area command for the same area as 
the primary address on the same interface. 
When a network area command is deleted, matching interfaces are 
reevaluated against all remaining network area commands. 
Example
The following example sets the number of paths at 2 that OSPF can report 
for a given destination.
console(config-router)#maximum-paths 2
network area
The network area command enables OSPFv2 on an interface and sets its area 
ID if the ip-address of an interface is covered by this network command. Use 
the “no” form of this command to disable OSPFv2 on an interface.