Example 1: Simple Ospf Domain - IBM RackSwitch G8000 Application Manual

A top-of-rack (tor) switch
Hide thumbs Also See for RackSwitch G8000:
Table of Contents

Advertisement

Example 1: Simple OSPF Domain

© Copyright IBM Corp. 2011
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 30. A Simple OSPF Domain
Network
10.10.7.0/24
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:
– Interface 1 for the backbone network on 10.10.7.0/24
– Interface 2 for the stub area network on 10.10.12.0/24
RS G8000(config)# interface ip 1
RS G8000(config-ip-if)# ip address 10.10.7.1
RS G8000(config-ip-if)# ip netmask 255.255.255.0
RS G8000(config-ip-if)# enable
RS G8000(config-ip-if)# exit
RS G8000(config)# interface ip 2
RS G8000(config-ip-if)# ip address 10.10.12.1
RS G8000(config-ip-if)# ip netmask 255.255.255.0
RS G8000(config-ip-if)# enable
RS G8000(config-ip-if)# exit
Note: OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see
Implementation in IBM N/OS" on page
2. Enable OSPF.
RS G8000(config)# router ospf
RS G8000(config-router-ospf)# enable
3. Define the backbone.
The backbone is always configured as a transit area using areaid 0.0.0.0.
RS G8000(config-router-ospf)# area 0 area-id 0.0.0.0
RS G8000(config-router-ospf)# area 0 type transit
RS G8000(config-router-ospf)# area 0 enable
Network
10.10.12.0/24
279).
Figure
30:
"OSPFv3
271
Chapter 22. OSPF

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents