Web OS 10.0 Application Guide
Example 1: Simple OSPF Domain
In this example, two OSPF areas are defined—one area is the backbone and the other is a stub
area. A stub area does not allow advertisements of external routes, thus reducing the size of the
database. Instead, a default summary route of IP address 0.0.0.0 is automatically inserted into
the stub area. Any traffic for IP address destinations outside the stub area will be forwarded to
the stub area's IP interface, and then into the backbone.
Figure 4-5 A Simple OSPF Domain
Follow this procedure to configure OSPF support as shown in
1.
Configure IP interfaces on each network that will be attached to OSPF areas.
In this example, two IP interfaces are needed: one for the backbone network on 10.10.7.0/24
and one for the stub area network on 10.10.12.0/24.
>> # /cfg/ip/if 1
>> IP Interface 1 # addr 10.10.7.1
>> IP Interface 1 # mask 255.255.255.0
>> IP Interface 1 # broad 10.10.7.255
>> IP Interface 1 # enable
>> IP Interface 1 # ../if 2
>> IP Interface 2 # addr 10.10.12.1
>> IP Interface 2 # enable
>> IP Interface 1 # mask 255.255.255.0
2.
Enable OSPF.
>> IP Interface 2 # /cfg/ip/ospf/on
n
84
Chapter 4: OSPF
Backbone
Area 0
(0.0.0.0)
IF 1
10.10.7.1
Network
10.10.7.0/24
Stub Area
Area 1
(0.0.0.1)
IF 2
10.10.12.1
Network
10.10.12.0/24
Figure
4-5:
(Select menu for IP interface 1)
(Set IP address on backbone network)
(Set IP mask on backbone network)
(Set the broadcast address)
(Enable IP interface 1)
(Select menu for IP interface 2)
(Set IP address on stub area network)
(Enable IP interface 2)
(Set IP mask on backbone network)
(Enable OSPF on the Web switch)
212777-A, February 2002