
Router (OSPF) Configuration Command Set Command Reference Guide
548 © 2003 ADTRAN, Inc. 61950860L1-35D
network <ip address> <wildcard> area <area id>
Use the network area command to enable routing on an IP stack and to define area IDs for the interfaces
on which OSPF will run. Use the no form of this command to disable OSPF routing for interfaces defined
using this command.
Syntax Description
<ip address>
Network address <A.B.C.D>.
<wildcard>
The wildcard mask is in an IP-address-type format and includes “don’t care” bits.
<area id>
Identifier for this area. Enter as an integer (range: 0-4294967295) or an IP
address <A.B.C.D>.
Default Values
No default values required for this command.
Command Modes
(config-ospf)# Router (OSPF) Configuration Mode required
Command History
Release 3.1 Command was introduced
Technology Review
In order for OSPF to operate on an interface, the primary address for the interface must be included in the
network area
command. Assigning an interface to an OSPF area is done using the
network area
command.
There is no limit to the number of network area commands used on a router. If the address ranges defined for
different areas overlap, the first area in the
network area
command list is used and all other overlapping
portions are disregarded. Try to avoid overlapping to avoid complications.
Usage Examples
In the following example, the OSPF routing process is enabled and two OSPF areas are defined.
(config)#
router ospf
(config-ospf)#
network 192.22.72.101 0.0.0.255 area 0
(config-ospf)#
network 10.0.0.0 0.255.255.255 area 10.0.0.0
Kommentare zu diesen Handbüchern