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 2015
CN4093(configrouterospf)# area 0 areaid 0.0.0.0
CN4093(configrouterospf)# area 0 type transit
CN4093(configrouterospf)# area 0 enable
CN4093(configrouterospf)# area 1 areaid 0.0.0.1
CN4093(configrouterospf)# area 1 type stub
CN4093(configrouterospf)# area 1 enable
CN4093(configrouterospf)# exit
CN4093(config)# interface ip 1
CN4093(configipif)# ip ospf area 0
CN4093(configipif)# ip ospf enable
CN4093(configipif)# exit
CN4093(config)# interface ip 2
CN4093(configipif)# ip ospf area 1
CN4093(configipif)# ip ospf enable
CN4093(configipif)# exit
CN4093(config)# router ospf
CN4093(configrouterospf)# arearange 1 address 36.128.192.0
255.255.192.0
CN4093(configrouterospf)# arearange 1 area 1
CN4093(configrouterospf)# arearange 1 enable
CN4093(configrouterospf)# exit
CN4093(config)# router ospf
CN4093(configrouterospf)# arearange 2 address 36.128.200.0
255.255.255.0
CN4093(configrouterospf)# arearange 2 area 1
CN4093(configrouterospf)# arearange 2 hide
CN4093(configrouterospf)# exit
Use the following commands to verify the OSPF configuration on your switch:
show ip ospf
show ip ospf neighbor
show ip ospf database databasesummary
show ip ospf routes
Refer to the Lenovo N/OS Command Reference for information on the preceding
commands.
443
Chapter 31: OSPF