Cisco Cisco Packet Data Gateway (PDG) Fehlerbehebungsanleitung

Seite von 580
Routing   
▀  OSPF Routing 
 
▄  Cisco ASR 5000 Series Enhanced Feature Configuration Guide 
OL-22983-01   
Externally derived routing data (for example, routes learned from an exterior protocol such as BGP ) is advertised 
throughout the AS. This externally derived data is kept separate from the OSPF protocol‘ 
s link state data. Each external route can also be tagged by the advertising router, enabling the passing of additional 
information between routers on the boundary of the AS. 
 
Link-State Algorithm 
OSPF uses a link-state algorithm in order to build and calculate the shortest path to all known destinations. The 
algorithm by itself is quite complicated. The following is a very high level, simplified way of looking at the various 
steps of the algorithm:  
1.  Upon initialization or update in routing information, an OSPF-enabled router generates a link-state 
advertisement (LSA). This LSA represents the collection of all link-states on that router. 
2.  All routers exchange link-states by means of flooding. Each router that receives a link-state update stores a copy 
in its link-state database and then propagates the update to other routers.
3.  After the database of each router is completed, the OSPF-enabled router calculates a Shortest Path Tree to all 
destinations. The router uses the Dijkstra algorithm to calculate the shortest path tree. The algorithm places 
each router at the root of a tree and calculates the shortest path to each destination based on the cumulative cost 
required to reach that destination. Each router has its own view of the topology even though all OSPF-enabled 
routers build a shortest path tree using the same link-state database. The destinations, associated cost, and the 
next hop to reach those destinations form the IP routing table.
4.  If no changes in the OSPF network occur, such as link cost or an added or deleted network, OSPF is quiet. Any 
changes that occur are communicated via link-state update packets, and the Dijkstra algorithm is recalculated 
to again find the shortest path. 
 
Basic OSPFv2 Configuration 
This section describes how to implement basic OSPF routing functionality. 
 
Enabling OSPF Routing For a Specific Context 
Use the following configuration example to enable OSPF Routing for a specific context: 
Notes: 
 
Save your configuration as described in Verifying and Saving Your Configuration.