Connected: An Internet Encyclopedia
12.4.3. Summary links

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1583
Up: 12. Link State Advertisements
Up: 12.4. Originating link state advertisements
Prev: 12.4.2. Network links
Next: 12.4.4. Originating summary links into stub areas

12.4.3. Summary links

12.4.3. Summary links

Each summary link advertisement describes a route to a single destination. Summary link advertisements are flooded throughout a single area only. The destination described is one that is external to the area, yet still belonging to the Autonomous System.

Summary link advertisements are originated by area border routers. The precise summary routes to advertise into an area are determined by examining the routing table structure (see Section 11) in accordance with the algorithm described below. Note that only intra-area routes are advertised into the backbone, while both intra-area and inter-area routes are advertised into the other areas.

To determine which routes to advertise into an attached Area A, each routing table entry is processed as follows. Remember that each routing table entry describes a set of equal-cost best paths to a particular destination:

If a router advertises a summary advertisement for a destination which then becomes unreachable, the router must then flush the advertisement from the routing domain by setting its age to MaxAge and reflooding (see Section 14.1). Also, if the destination is still reachable, yet can no longer be advertised according to the above procedure (e.g., it is now an inter-area route, when it used to be an intra- area route associated with some non-backbone area; it would thus no longer be advertisable to the backbone), the advertisement should also be flushed from the routing domain.

For an example of summary link advertisements, consider again the area configuration in Figure 6. Routers RT3, RT4, RT7, RT10 and RT11 are all area border routers, and therefore are originating summary link advertisements. Consider in particular Router RT4. Its routing table was calculated as the example in Section 11.3. RT4 originates summary link advertisements into both the backbone and Area 1. Into the backbone, Router RT4 originates separate advertisements for each of the networks N1-N4. Into Area 1, Router RT4 originates separate advertisements for networks N6-N8 and the AS boundary routers RT5,RT7. It also condenses host routes Ia and Ib into a single summary link advertisement. Finally, the routes to networks N9,N10,N11 and Host H1 are advertised by a single summary link advertisement. This condensation was originally performed by the router RT11.

These advertisements are illustrated graphically in Figures 7 and 8. Two of the summary link advertisements originated by Router RT4 follow. The actual IP addresses for the networks and routers in question have been assigned in Figure 15.

              ; summary link advertisement for Network N1,
              ; originated by Router RT4 into the backbone

              LS age = 0                  ;always true on origination
              Options = (T-bit|E-bit)     ;TOS-capable
              LS type = 3                 ;summary link to IP net
              Link State ID = 192.1.2.0   ;N1's IP network number
              Advertising Router = 192.1.1.4       ;RT4's ID
                     TOS = 0
                     metric = 4

              ; summary link advertisement for AS boundary router RT7
              ; originated by Router RT4 into Area 1

              LS age = 0                  ;always true on origination
              Options = (T-bit|E-bit)     ;TOS-capable
              LS type = 4                 ;summary link to ASBR
              Link State ID = Router RT7's ID
              Advertising Router = 192.1.1.4       ;RT4's ID
                     TOS = 0
                     metric = 14

Summary link advertisements pertain to a single destination (IP network or AS boundary router). However, for a single destination there may be separate sets of paths, and therefore separate routing table entries, for each Type of Service. All these entries must be considered when building the summary link advertisement for the destination; a single advertisement must specify the separate costs (if they exist) for each TOS. The encoding of TOS in OSPF link state advertisements is described in Section 12.3.

Clearing the T-bit in the Options field of a summary link advertisement indicates that there is a TOS 0 path to the destination, but no paths for non-zero TOS. This can happen when non-TOS-capable routers exist in the routing domain (see Section 2.4).


Next: 12.4.4. Originating summary links into stub areas

Connected: An Internet Encyclopedia
12.4.3. Summary links