With OSPF (a common Enterprise link-state protocol), Each router has a complete view of the topology for the areas it is associated with. In smaller networks, all routers can belong to the one single area (commonly area 0), so all routers would have full topology information for the entire network/AS.
As the network grows, the network can be split up into separate areas to aid scaling. There are two levels of hierarchy, area 0 is the backbone area and all other areas must be connected to the backbone. A router can sit solely within a single area (all its interfaces are assigned to the area). In this case it will only have full topology information for that area. Areas are interconnected to the backbone by routers which have links in different areas (one of these must be the backbone area). These routers are called Area Border Routers and provide a service to the areas it is connected to of summarising the topology information from one area into another.
For example, if you have area 1, connected to area 0, connected to area 2.
- All the routers only in area 1 have full topology information for area 1
- All the routers only in area 2 have full topology information for area 2
- All the routers only in area 0 have full topology information for area 0
- ABRs that straddle areas 0 and 1 have full topology information for both of those areas
- ABRs that straddle areas 0 and 2 have full topology information for both of those areas
- An ABR connecting area 1 to area 0 will work out its best (lowest cost) path to each network within area 1 and create type 3 summary LSAs and advertise those into area 0.
- The ABR connecting area 1 and area 0 will also summarise all the networks from area 0 (and the summary routes in area 0 summarised from area 2) into area 1
- An ABR connecting area 2 to area 0 will work out its best (lowest cost) path to each network within area 2 and create type 3 summary LSAs and advertise those into area 0.
- The ABR connecting area 2 and area 0 will also summarise all the networks from area 0 (and the summary routes in area 0 summarised from area 1) into area 2
So each area now has full topology information for all the routers and networks within the areas it is a member of, and it has summarised information for all the other networks within the AS, which are created by the area ABR. The summarised information only shows the ABRs best cost path to the networks in the other areas, it does not allow the router to build up a full picture of the entire network and work out its best path to the network number from the topology graph.
The example above is for standard areas, there is the concept of stub areas, totally stubby areas, not so stubby areas etc that all have different rules for how they summarise internal or external routes.