278 RackSwitch G8000: Application Guide
4. Define the stub area.
5. Attach the network interface to the backbone.
6. Attach the network interface to the stub area.
7. Configure route summarization by specifying the starting address and mask of
the range of addresses to be summarized.
8. Use the hide command to prevent a range of addresses from advertising to the
backbone.
Verifying OSPF Configuration
Use the following commands to verify the OSPF configuration on your switch:
• show ip ospf
• show ip ospf neighbor
• show ip ospf database database-summary
• show ip ospf routes
Refer to the IBM Networking OS Command Reference for information on the
preceding commands.
RS G8000(config-router-ospf)# area 1 area-id 0.0.0.1
RS G8000(config-router-ospf)# area 1 type stub
RS G8000(config-router-ospf)# area 1 enable
RS G8000(config-router-ospf)# exit
RS G8000(config)# interface ip 1
RS G8000(config-ip-if)# ip ospf area 0
RS G8000(config-ip-if)# ip ospf enable
RS G8000(config-ip-if)# exit
RS G8000(config)# interface ip 2
RS G8000(config-ip-if)# ip ospf area 1
RS G8000(config-ip-if)# ip ospf enable
RS G8000(config-ip-if)# exit
RS G8000(config)# router ospf
RS G8000(config-router-ospf)# area-range 1 address 36.128.192.0
255.255.192.0
RS G8000(config-router-ospf)# area-range 1 area 0
RS G8000(config-router-ospf)# area-range 1 enable
RS G8000(config-router-ospf)# exit
RS G8000(config)# router ospf
RS G8000(config-router-ospf)# area-range 2 address 36.128.200.0
255.255.255.0
RS G8000(config-router-ospf)# area-range 2 area 0
RS G8000(config-router-ospf)# area-range 2 hide
RS G8000(config-router-ospf)# exit