© Copyright IBM Corp. 2011
Chapter 22. OSPF
271
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 30. 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:
– 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
Note:
OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see
Implementation in IBM N/OS” on page 279
2. Enable OSPF.
3. Define the backbone.
The backbone is always configured as a transit area using
areaid
0.0.0.0
.
Network
10.10.12.0/24
10.10.7.0/24
Network
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
RS G8000(config)#
router ospf
RS G8000(config-router-ospf)#
enable
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
Summary of Contents for RackSwitch G8000
Page 1: ...RackSwitch G8000 Application Guide...
Page 2: ......
Page 3: ...RackSwitch G8000 Application Guide...
Page 16: ...16 RackSwitch G8000 Application Guide...
Page 22: ...20 RackSwitch G8000 Application Guide...
Page 23: ...Copyright IBM Corp 2011 21 Part 1 Getting Started...
Page 24: ...22 RackSwitch G8000 Application Guide...
Page 54: ...52 RackSwitch G8000 Application Guide...
Page 55: ...Copyright IBM Corp 2011 53 Part 2 Securing the Switch...
Page 56: ...54 RackSwitch G8000 Application Guide...
Page 92: ...90 RackSwitch G8000 Application Guide...
Page 94: ...92 RackSwitch G8000 Application Guide...
Page 144: ...142 RackSwitch G8000 Application Guide...
Page 145: ...Copyright IBM Corp 2011 143 Part 4 Advanced Switch ing Features...
Page 146: ...144 RackSwitch G8000 Application Guide...
Page 148: ...146 RackSwitch G8000 Application Guide...
Page 182: ...180 RackSwitch G8000 Application Guide...
Page 184: ...182 RackSwitch G8000 Application Guide...
Page 212: ...210 RackSwitch G8000 Application Guide...
Page 258: ...256 RackSwitch G8000 Application Guide...
Page 286: ...284 RackSwitch G8000 Application Guide...
Page 294: ...292 RackSwitch G8000 Application Guide...
Page 298: ...296 RackSwitch G8000 Application Guide...
Page 310: ...308 RackSwitch G8000 Application Guide...
Page 311: ...Copyright IBM Corp 2011 309 Part 7 Network Management...
Page 312: ...310 RackSwitch G8000 Application Guide...
Page 320: ...318 RackSwitch G8000 Application Guide...
Page 332: ...330 RackSwitch G8000 Application Guide...
Page 334: ...332 RackSwitch G8000 Application Guide...
Page 345: ...Copyright IBM Corp 2011 343 Part 9 Appendices...
Page 346: ...344 RackSwitch G8000 Application Guide...
Page 357: ...Copyright IBM Corp 2011 Appendix C Notices 355 Taiwan Class A compliance statement...