Technical data

BLADE OS 5.1 Application Guide
168
Chapter 11: OSPF BMD00136, November 2009
2. Enable OSPF.
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.
>> # router ospf
>> (config-router-ospf)# enable
>> (config-router-ospf)# area 0 area-id 0.0.0.0
>> (config-router-ospf)# area 0 type transit
>> (config-router-ospf)# area 0 enable
>> (config-router-ospf)# area 1 area-id 0.0.0.1
>> (config-router-ospf)# area 1 type stub
>> (config-router-ospf)# area 1 enable
>> (config-router-ospf)# exit
>> # interface ip 1
>> (config-ip-if)# ip ospf area 0
>> (config-ip-if)# ip ospf enable
>> (config-ip-if)# exit
>> # interface ip 2
>> (config-ip-if)# ip ospf area 1
>> (config-ip-if)# ip ospf enable
>> (config-ip-if)# exit
>> # router ospf
>> (config-router-ospf)# area-range 1 address 36.128.192.0 255.255.192.0
>> (config-router-ospf)# area-range 1 area 0
>> (config-router-ospf)# area-range 1 enable
>> # router ospf
>> (config-router-ospf)# area-range 2 address 36.128.200.0 255.255.255.0
>> (config-router-ospf)# area-range 2 area 0
>> (config-router-ospf)# area-range 2 hide
>> (config-router-ospf)# exit