- 448 -
Default Setting
Enabled
Command Mode
Router OSPF Config Mode
8.3.2.3 network area
Use
network area
command to enable OSPFv2 on an interface and set its area ID if the IP address of
an interface is covered by this network command. Use
no network area
command to disable the
OSPFv2 on a interface if the IP address of an interface was earlier covered by this network command
Syntax
network <ip-address> <wildcard-mask> area <area-id>
no network <ip-address> <wildcard-mask> area <area-id>
Default Setting
Disabled
Command Mode
Router OSPF Config Mode
8.3.2.4 ip ospf area
Use
ip ospf area
command to enable OSPFv2 and set the area ID of an interface. The <
area-id
> is an
IP address formatted as a 4-digit dotted-decimal number or a decimal value in the range of
<0-4294967295>. This command supersedes the effects of the
network area
command. It can also be
used to configure the advertiseability of the secondary addresses on this interface into the OSPFv2
domain. Use
no ip ospf area
command to disable OSPF on an interface.
Syntax
ip ospf area <area-id> [secondaries none]
no ip ospf area [secondaries none]
Default Setting
Disabled
Command Mode
Interface Config