OSPFv2 Configuration Examples
1. Configure IP interfaces.
2. (Optional) Configure the router ID.
3. Enable OSPF on the switch.
4. Define the OSPF areas.
5. Configure OSPF interface parameters.
6. (Optional) Configure route summarization between OSPF areas.
7. (Optional) Configure virtual links.
8. (Optional) Configure host routes.
Example 1: Simple OSPF Domain
© Copyright Lenovo 2017
A summary of the basic steps for configuring OSPF on the CN4093 is listed here.
Detailed instructions for each of the steps is covered in the following sections:
One IP interface is required for each desired network (range of IP addresses) being
assigned to an OSPF area on the switch.
The router ID is required only when configuring virtual links on the switch.
IP interfaces are used for attaching networks to the various areas.
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 51. A Simple OSPF Domain
Backbone
Area 0
(0.0.0.0)
Network
10.10.7.0/24
IF 1
10.10.7.1
Stub Area
Area 1
(0.0.0.1)
IF 2
10.10.12.1
Network
10.10.12.0/24
Chapter 30: OSPF
483