Configuring OSPF
1-4 Command Line Interface Protocol Configuration Guide
4. Define the OSPF area(s).
5. Specify the interface(s) on which OSPF runs and the area ID for each interface.
6. If an OSPF area does not have a physical connection to the backbone, read this
step. Otherwise, go to the next step.
When an OSPF area is not physically connected to the backbone, establish a virtual
link at both endpoints. This is done using the area
area-id
virtual-link command
described on the next page.
Note: If you are planning to configure an OSPF area as a stub area, virtual
links cannot be established through stub areas.
area
area-id area-id
- a number in four-part, dotted-decimal
notation that identifies the area. For example,
0.0.0.1 indicates area 1. When using OSPF in a
single area, use
0.0.0.0
.
Cajun
(configure router:ospf)#
area 0.0.0.1
network ip-address
wildcard-mask area area-id
ip-address - the IP address of the interface.
wildcard-mask - an inverse mark that determines
how to read ip-address. The mask has wildcard bits
where 0 is a match and 1 is "don’t care".
area-id - the area identifier.
Cajun (configure router:ospf)# network 12.21.2.3 0.0.0.0 area 0.0.0.1