1106 OSPF CommandsUser GuidelinesOSPF is only enabled on an interface if the primary IPv4 address on theinterface matches a network area range. Any individual interface can only beattached to a single area. If an interface address matches multiple networkarea 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 anymatching network area command.OSPF only advertises IP subnets for secondary IP addresses if the secondaryaddress is within the range of a network area command for the same area asthe primary address on the same interface.When a network area command is deleted, matching interfaces arereevaluated against all remaining network area commands.ExampleThe following example sets the number of paths at 2 that OSPF can reportfor a given destination.console(config-router)#maximum-paths 2network areaThe network area command enables OSPFv2 on an interface and sets its areaID if the ip-address of an interface is covered by this network command. Usethe “no” form of this command to disable OSPFv2 on an interface.Syntaxnetworkip-address wildcard-mask areaarea-idno networkip-address wildcard-mask areaarea-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 from0–4294967295).Default ConfigurationOSPFv2 is disabled