756 OSPF Commands
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
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.
Syntax
network
ip-address wildcard-mask
area
area-id
no network
ip-address wildcard-mask
area
area-id
•
ip-address
— Base IPv4 address of the network area.
•
wildcard-mask
— The network mask indicating the subnet.
•
area-id
— The ID of the area (Range: IP address or decimal from 0–4294967295).
Default Configuration
OSPFv2 is disabled
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
Example
console(config-router)#network 10.50.50.0 0.0.0.255 area 4