3. Define the backbone.
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
© Copyright Lenovo 2017
RS 8264CS(config-router-ospf)# area 0 area-id 0.0.0.0
RS 8264CS(config-router-ospf)# area 0 type transit
RS 8264CS(config-router-ospf)# area 0 enable
RS 8264CS(config-router-ospf)# area 1 area-id 0.0.0.1
RS 8264CS(config-router-ospf)# area 1 type stub
RS 8264CS(config-router-ospf)# area 1 enable
RS 8264CS(config-router-ospf)# exit
RS 8264CS(config)# interface ip 1
RS 8264CS(config-ip-if)# ip ospf area 0
RS 8264CS(config-ip-if)# ip ospf enable
RS 8264CS(config-ip-if)# exit
RS 8264CS(config)# interface ip 2
RS 8264CS(config-ip-if)# ip ospf area 1
RS 8264CS(config-ip-if)# ip ospf enable
RS 8264CS(config-ip-if)# exit
RS 8264CS(config)# router ospf
RS 8264CS(config-router-ospf)# area-range 1 address 36.128.192.0
255.255.192.0
RS 8264CS(config-router-ospf)# area-range 1 area 1
RS 8264CS(config-router-ospf)# area-range 1 enable
RS 8264CS(config-router-ospf)# exit
RS 8264CS(config)# router ospf
RS 8264CS(config-router-ospf)# area-range 2 address 36.128.200.0
255.255.255.0
RS 8264CS(config-router-ospf)# area-range 2 area 1
RS 8264CS(config-router-ospf)# area-range 2 hide
RS 8264CS(config-router-ospf)# exit
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 Lenovo Enterprise Network Operating System Command Reference for
information on the preceding commands.
Chapter 29: Open Shortest Path First
491