[Contents] [Prev] [Next] [Index] [Report an Error]


Aggregating OSPF Networks

You can aggregate OSPF networks at the border of an OSPF area by using the area range command. You can also aggregate OSPF networks when entering the border of the OSPF domain by using the summary-address command.

    area range

1    Configure the interface's IP address(es) using the ip address command.

2    Enable OSPF using the router ospf command.

3    Configure the network area with the network area command.

4    Configure the area range with the area range command.

host1(config-if)#ip address 2.2.10.1 255.255.255.0
host1(config-if)#ip address 2.2.11.1 255.255.255.0 secondary
host1(config)#router ospf 2
host1(config-router)#network 2.2.0.0 0.0.255.255 area 0

At this point, the OSPF process is configured with two OSPF interfaces. If your router is an ABR, two networks must be summarized: 2.2.10.0/24 and 2.2.11.0/24.

host1(config-router)#area 0 range 2.2.0.0 255.255.0.0

After you enter this area range command, only the aggregated range 2.2.0.0/16 is going to be summarized.

    summary-address

host1(config-router)#summary-address 10.1.0.0 255.255.0.0

[Contents] [Prev] [Next] [Index] [Report an Error]