Nortel Switched Firewall 2.3.3 User’s Guide and Command Reference
Open Shortest Path First
103
213455-L, October 2005
Using the area ID to assign the OSPF area number
The OSPF area number is defined in the
id
<IP address>
option. The octet format is used in
order to be compatible with two different systems of notation used by other OSPF network
vendors. There are two valid ways to designate an area ID:
Placing the area number in the last octet (0.0.0.
n
)
Most common OSPF vendors express the area ID number as a single number. For
example, the Cisco IOS-based router command “
network 1.1.1.0
0.0.0.255
area 1
” defines the area number simply as “
area 1.
” On an Nortel Switched Firewall,
using the last octet in the area ID, “
area 1
” is equivalent to “
id 0.0.0.1
”.
Multi-octet (
IP address
)
Some OSPF vendors express the area ID number in multi-octet format. For example,
“
area
2.2.2.2
” represents OSPF area 2 and can be specified directly on an Nortel
Switched Firewall as “
id 2.2.2.2
”.
N
OTE
–
Although both types of area ID formats are supported, be sure that the area IDs are in
the same format throughout an area.
Attaching an area to a network
Once an OSPF area has been defined, it must be associated with a network. To attach the area
to a network, you must assign the OSPF area index to an IP interface that participates in the
area. The format for the command is as follows:
For example, the following commands could be used to configure IP interface 14 for a
presence on the 10.10.10.1/24 network, to define OSPF area 1 using index 2 on the Nortel
Switched Firewall, and to attach the area to the network:
>> #
/cfg/net/ospf/if
<interface number>
/aindex
<area index>
>> #
/cfg/net/if 14
(Select menu for IP interface 14)
>> Interface 14#
addr1 10.10.10.1
(Define IP address on the backbone)
>> Interface 14#
ena
(Enable IP interface 14)
>> Interface 14#
../ospf/aindex 2
(
Select menu for area index 2)
>> OSPF Area Index 2 #
id 0.0.0.1
(Define area ID as OSPF area 1)
>> OSPF Area Index 2 #
ena
(Enable area index 2)
>> OSPF Area Index 2 #
../if 14
(Select OSPF menu for interface 14)
>> OSPF Interface 14#
aindex 2
(Attach area to network interface 14)
>> OSPF Interface 14#
ena
(Enable interface 14 for area index 2)