Handbook

N8406-023 1Gb Intelligent L3 Switch Application Guide 118
OSPF features not supported
The following OSPF features are not supported:
Summarizing external routes
Filtering OSPF routes
Using OSPF to forward multicast routes
Configuring OSPF on non-broadcast multi-access networks (such as frame relay, X.25, and ATM)
OSPF configuration examples
A summary of the basic steps for configuring OSPF on the switch is listed here. Detailed instructions for each of the
steps is covered in the following sections:
Configure IP interfaces.
One IP interface is required for each desired network (range of IP addresses) being assigned to an OSPF
area on the switch.
(Optional) Configure the router ID.
The router ID is required only when configuring virtual links on the switch.
Enable OSPF on the switch.
Define the OSPF areas.
Configure OSPF interface parameters.
IP interfaces are used for attaching networks to the various areas.
(Optional) Configure route summarization between OSPF areas.
(Optional) Configure virtual links.
(Optional) Configure host routes.
Example 1: Simple OSPF domain (AOS CLI example)
In this example, two OSPF areas are definedone 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 20 Simple OSPF domain
Follow this procedure to configure OSPF support as shown in the figure.
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/l3/if 1 (Select menu for IP interface 1)
>> IP Interface 1 # addr 10.10.7.1(Set IP address on backbone network)
>> IP Interface 1 # mask 255.255.255.0(Set IP mask on backbone network)
>> IP Interface 1 # enable(Enable IP interface 1)
>> IP Interface 1 # ../if 2(Select menu for IP interface 2)
>> IP Interface 2 # addr 10.10.12.1(Set IP address on stub area network)
>> IP Interface 2 # mask 255.255.255.0(Set IP mask on stub area network)
>> IP Interface 2 # enable(Enable IP interface 2)
2. Enable OSPF.
>> IP Interface 2 # /cfg/l3/ospf/on(Enable OSPF on the switch)
Switch
Switch
Blade Enclosure