network area
Enables/disables OSPF on zero or more IP interfaces, and specifies their OSPF network area.
Syntax: [no] network address wildcard-bits area area-id
address
A IP address in dotted decimal notation.
wildcard-bits
The inverse of the network mask used to further define the network address.
area-id
Area associated with the address range defined by address and wild-card-bits. The area ID can be specified in either decimal or dotted decimal notation.
Description: The network area command enables OSPF to operate on an interface if the interface's address is included in the address range specified by the command. If the interface's address is not covered by the address range specified by the network area command, OSPF will not be enabled on the interface.
The wildcard-bits are the inverse of the network mask used to further define the network address. For example, if the network address mask is 255.255.255.0, the wildcard-bits is 0.0.0.255. The address and wildcard-bits allow you to specify a single interface or multiple interfaces.
The ip-address and wildcard-bits together define the interfaces on which to run OSPF. If none of the interfaces defined on this router fall within the network area, OSPF does not run on any interfaces.
NOTE An interface may be associated with only one network area.
Use the network ip-address wildcard-bits area area-id command to enable OSPF on the specified interface address or range of addresses.
The no network ip-address wildcard-bits area area-id command to disable OSPF on the specified interface address or range of addresses.
NOTE The network area command enables OSPF on interfaces with most of the OSPF configuration parameters set to default values. Use the various interface configuration commands listed in the "Related Commands" section to modify the defaults as needed.
Factory Default: No network area defined.
Command Mode: Router configuration.
Example: In the following example:
- The router ospf number command enables OSPF on the router
- The network ip-address wildcard-bits area area-id command enables OSPF on the specified interfaces
- The show ip ospf command displays the setting:
router(config)#router ospf 1
router(config-router)#network 10.1.1.0 0.0.0.255 area 0
router(config-router)#end
router#show ip ospf
OSPF is running, process id: 1, router id: 10.10.10.10
Number of areas: 1, normal: 1, stub: 0
Maximum paths per route: 1
Area: 0.0.0.0
Number of interfaces in this area is 4
Type of authentication none
SPF algorithm has run 9 times
SPF interval 5 seconds
Related Commands: ip ospf authentication-key
ip ospf cost
ip ospf dead-interval
ip ospf hello-interval
ip ospf message-digest-key md5
ip ospf network
ip ospf priority
ip ospf retransmit-interval
ip ospf transmit-delay
router ospf
show ip ospf
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ospf.fm
HTML File Name: ospf19.html
Last Updated: 05/10/04 at 16:34:58