6-cap.docx

Upload: manuel-felipe-duarte

Post on 10-Oct-2015

36 views

Category:

Documents


0 download

TRANSCRIPT

IntroduccionMultiarea OSPF se utiliza para dividir una red OSPF grande. Too many routers in one area increase the load on the CPU and create a large link-state database. Demasiados routers en un rea aumentan la carga en la CPU y crear una base de datos de estado de enlace grande. In this chapter, directions are provided to effectively partition a large single area into multiple areas. En este captulo, se dan indicaciones para dividir efectivamente una gran rea nica en mltiples reas. Area 0 used in a single-area OSPF is known as the backbone area. Area 0 utilizado en una sola rea OSPF se conoce como el rea de red troncal. Discussion is focused on the LSAs exchanged between areas. La discusin se centra en los LSA intercambiados entre las reas. In addition, activities for configuring OSPFv2 and OSPFv3 are provided. Adems, se ofrecen actividades para configurar OSPFv2 y OSPFv3. The chapter concludes with the show commands used to verify OSPF configurations. El captulo concluye con los comandos show utilizados para verificar las configuraciones de OSPF.

6.1 Multiarea OSPF Operation6.1.1 Why Multiarea OSPF?

6.1.1.1 Single-Area OSPFSingle-rea OSPF es til en redes ms pequeas, donde la red de vnculos del router no es complejo, y las rutas a destinos individuales se deduce fcilmente. However, if an area becomes too big, the following issues must be addressed (see the figure for illustration): Sin embargo, si un rea se vuelve demasiado grande, las siguientes cuestiones deben abordarse (ver la figura de la ilustracin): Large routing table - OSPF does not perform route summarization by default. Tabla de enrutamiento grande - OSPF no realiza el resumen de ruta por defecto. If the routes are not summarized, the routing table can become very large, depending on the size of the network. Si las rutas no se resumen, la tabla de enrutamiento puede llegar a ser muy grande, dependiendo del tamao de la red. Large link-state database (LSDB) - Gran base de datos de estado de enlace (LSDB) - Because the LSDB covers the topology of the entire network, each router must maintain an entry for every network in the area, even if not every route is selected for the routing table. Debido a que el LSDB cubre la topologa de toda la red, cada router debe mantener una entrada para cada red en el rea, incluso si se selecciona no todas las rutas de la tabla de enrutamiento. Frequent SPF algorithm calculations - In a large network, changes are inevitable, so the routers spend many CPU cycles recalculating the SPF algorithm and updating the routing table. Clculos del algoritmo SPF Frecuentes - En una red grande, los cambios son inevitables, por lo que los routers pasan muchos ciclos de CPU recalcular el algoritmo SPF y la actualizacin de la tabla de enrutamiento. To make OSPF more efficient and scalable, OSPF supports hierarchical routing using areas. Para que OSPF ms eficiente y escalable, OSPF soporta reas de encaminamiento usando jerrquicos. An OSPF area is a group of routers that share the same link-state information in their link-state databases. Un rea OSPF es un grupo de routers que comparten la misma informacin de estado de enlace en sus bases de datos de estado de enlace. 6.1.1.2 Multiarea OSPFCuando una gran rea OSPF est dividida en reas ms pequeas, esto se llama multiarea OSPF. Multiarea OSPF is useful in larger network deployments to reduce processing and memory overhead. Multiarea OSPF es til para despliegues de red ms grandes para reducir el procesamiento y la memoria por encima. For instance, any time a router receives new information about the topology, as with additions, deletions, or modifications of a link, the router must rerun the SPF algorithm, create a new SPF tree, and update the routing table.Por ejemplo, cada vez que un router recibe nueva informacin acerca de la topologa, al igual que con las adiciones, supresiones o modificaciones de un enlace, el router debe volver a ejecutar el algoritmo SPF, crear un nuevo rbol SPF, y actualizar la tabla de enrutamiento. The SPF algorithm is CPU-intensive and the time it takes for calculation depends on the size of the area. El algoritmo SPF es intensivo de la CPU y el tiempo que toma para el clculo depende del tamao de la zona. Too many routers in one area make the LSDB larger and increase the load on the CPU. Demasiados routers en un rea hacen del LSDB mayor y aumentan la carga en la CPU. Therefore, arranging routers into areas effectively partitions one potentially large database into smaller and more manageable databases. Por lo tanto, la organizacin de los routers en reas particiones de manera efectiva una potencialmente gran base de datos en bases de datos ms pequeas y ms manejables. Multiarea OSPF requires a hierarchical network design.Multiarea OSPF requiere un diseo de red jerrquico. The main area is called the backbone area (area 0) and all other areas must connect to the backbone area.El rea principal se llama el rea de red troncal (rea 0) y todas las dems reas se debe conectar a la zona de la columna vertebral. With hierarchical routing, routing still occurs between the areas (interarea routing); Con el enrutamiento jerrquico, el enrutamiento se sigue produciendo entre las reas (enrutamiento Interrea); while many of the tedious routing operations, such as recalculating the database, are kept within an area. mientras que muchas de las operaciones tediosas de enrutamiento, tales como volver a calcular la base de datos, se mantienen dentro de un rea. As illustrated in Figure 1, the hierarchical-topology possibilities of multiarea OSPF have these advantages:Como se ilustra en la Figura 1, las posibilidades de topologa jerrquica-de multiarea OSPF tienen las siguientes ventajas: Smaller routing tables - There are fewer routing table entries as network addresses can be summarized between areas. Tablas de enrutamiento ms pequeas - Hay menos entradas de la tabla de enrutamiento como direcciones de red se pueden resumir entre reas. For example, R1 summarizes the routes from area 1 to area 0 and R2 summarizes the routes from area 51 to area 0. R1 and R2 also propagate a default static route to area 1 and area 51. Por ejemplo, R1 resume las rutas de la zona 1 a la zona 0 y R2 se resumen las rutas de la zona 51 a la zona 0 R1 y R2 tambin propagar una ruta esttica por defecto a la zona 1 y zona 51. Reduced link-state update overhead - Minimizes processing and memory requirements, because there are fewer routers exchanging LSAs. Sobrecarga actualizacin Reducido de estado de enlace - Minimiza los requisitos de procesamiento y de memoria, porque hay menos routers intercambian LSA. Reduced frequency of SPF calculations - Localizes impact of a topology change within an area. Frecuencia reducida de los clculos de SPF - localiza impacto de un cambio en la topologa dentro de un rea. For instance, it minimizes routing update impact, because LSA flooding stops at the area boundary. Por ejemplo, se minimiza el impacto actualizacin de enrutamiento, porque LSA inundaciones se detiene en la zona lmite. In Figure 2, assume a link fails between two internal routers in area 51. Only the routers in area 51 exchange LSAs and rerun the SPF algorithm for this event.En la Figura 2, se supone falla un enlace entre dos routers internos en la zona 51. Slo los routers en el rea 51 LSA de cambio y vuelva a ejecutar el algoritmo SPF para este evento. R1 does not receive LSAs from area 51 and does not recalculate the SPF algorithm. R1 no recibe LSA de rea 51 y no vuelve a calcular el algoritmo SPF.

6.1.1.3 OSPF Two-Layer Area HierarchyMultiarea OSPF se implementa en una jerarqua rea de dos capas: Backbone (Transit) area - An OSPF area whose primary function is the fast and efficient movement of IP packets. Backbone rea (Trnsito) - Un rea OSPF cuya funcin principal es el movimiento rpido y eficiente de los paquetes IP. Backbone areas interconnect with other OSPF area types. reas red principal de interconexin con otros tipos de rea OSPF. Generally, end users are not found within a backbone area. Generalmente, los usuarios finales no se encuentran dentro de un rea de red troncal. The backbone area is also called OSPF area 0. Hierarchical networking defines area 0 as the core to which all other areas directly connect. La zona de la columna vertebral tambin se llama rea OSPF 0 red jerrquica define zona 0 como el ncleo a la que todas las dems reas se conectan directamente. (Figure 1) (Figura 1) Regular (Non-backbone) area - Connects users and resources. rea Regular (no troncal) - Se conecta a los usuarios y los recursos. Regular areas are usually set up along functional or geographical groupings. reas regulares se instalan generalmente a lo largo de agrupaciones funcionales o geogrficas. By default, a regular area does not allow traffic from another area to use its links to reach other areas. De forma predeterminada, una zona habitual no permite el trfico procedente de otra zona para utilizar sus enlaces para llegar a otras zonas. All traffic from other areas must cross a transit area. Todo el trfico de otras reas debe cruzar una zona de trnsito. (Figure 2) (Figura 2) Note : A regular area can have a number of subtypes, including a standard area, stub area, totally stubby area, and not-so-stubby area (NSSA). Nota: Una zona regular puede tener un nmero de subtipos, incluyendo un rea estndar, rea de rutas, zona totalmente rechoncho, y el rea no exclusiva de rutas (NSSA). Stub, totally stubby, and NSSAs are beyond the scope of this chapter. Stub, totalmente rechoncho, y NSSAs estn ms all del alcance de este captulo. OSPF enforces this rigid two-layer area hierarchy.OSPF impone esta rgida jerarqua rea de dos capas. The underlying physical connectivity of the network must map to the two-layer area structure, with all non-backbone areas attaching directly to area 0. All traffic moving from one area to another area must traverse the backbone area. La conectividad fsica subyacente de la red debe asignar a la estructura de zona de dos capas, con todas las reas no troncales que unen directamente al area 0 Todo el trfico se mueve de una zona a otra rea debe atravesar el rea de red troncal. This traffic is referred to as interarea traffic. Este trfico se conoce como trfico de Interrea. The optimal number of routers per area varies based on factors such as network stability, but Cisco recommends the following guidelines: El nmero ptimo de routers por rea vara en funcin de factores tales como la estabilidad de la red, pero Cisco recomienda las siguientes pautas: An area should have no more than 50 routers. Un rea no debe tener ms de 50 routers. A router should not be in more than three areas. Un router no debe estar en ms de tres reas. Any single router should not have more than 60 neighbors. Cualquier solo router no debe tener ms de 60 vecinos.

6.1.1.4 Types of OSPF RoutersRouters OSPF de diferentes tipos controlan el trfico que entra y sale de las reas. The OSPF routers are categorized based on the function they perform in the routing domain. Los routers OSPF se clasifican en base a la funcin que realizan en el dominio de enrutamiento. There are four different types of OSPF routers: Hay cuatro tipos diferentes de routers OSPF: Internal router This is a router that has all of its interfaces in the same area. Enrutador interno - Este es un router que tiene todas sus interfaces en la misma zona. All internal routers in an area have identical LSDBs. Todos los routers internos en un rea tienen LSDBs idnticos. (Figure 1) (Figura 1) Backbone router This is a router in the backbone area. Enrutador Backbone - Este es un router en el rea de red troncal. Generally, the backbone area is set to area 0. (Figure 2) Generalmente, el rea de red troncal se establece en el rea 0. (Figura 2) Area Border Router (ABR) This is a router that has interfaces attached to multiple areas. Area Border Router (ABR) - Este es un router que tiene interfaces conectadas a mltiples reas. It must maintain separate LSDBs for each area it is connected to, and can route between areas. Debe mantener LSDBs separados para cada rea que est conectado, y la ruta lata entre las reas. ABRs are exit points for the area, which means that routing information destined for another area can get there only via the ABR of the local area. ABR son puntos de salida de la zona, lo que significa que la informacin de enrutamiento con destino a otra rea puede llegar slo a travs de la ABR del rea local. ABRs can be configured to summarize the routing information from the LSDBs of their attached areas. ABR puede ser configurado para resumir la informacin de enrutamiento de los LSDBs de sus reas anexas. ABRs distribute the routing information into the backbone. ABRs distribuir la informacin de enrutamiento en la columna vertebral. The backbone routers then forward the information to the other ABRs. Los routers de backbone y luego envan la informacin a los dems ABR. In a multiarea network, an area can have one or more ABRs. En una red multiarea, una zona puede tener uno o ms ABR. (Figure 3) (Figura 3) Autonomous System Boundary Router (ASBR) This is a router that has at least one interface attached to an external internetwork (another autonomous system), such as a non-OSPF network. Autnoma System Boundary Router (ASBR) - Este es un router que tiene al menos una interfaz unida a una interconexin de redes externas (otro sistema autnomo), como una red no OSPF. An ASBR can import non-OSPF network information to the OSPF network, and vice versa, using a process called route redistribution. Un ASBR puede importar informacin de la red no OSPF a la red OSPF, y viceversa, usando un proceso llamado redistribucin de rutas. (Figure 4) (Figura 4) Redistribution in multiarea OSPF occurs when an ASBR connects different routing domains (eg, EIGRP and OSPF) and configures them to exchange and advertise routing information between those routing domains. La redistribucin en OSPF multiarea ocurre cuando un ASBR conecta diferentes dominios de enrutamiento (por ejemplo, EIGRP y OSPF) y los configura para intercambiar y publicar informacin de enrutamiento entre los dominios de enrutamiento. A router can be classified as more than one router type. Un router puede ser clasificado como ms de un tipo de router. For example, if a router connects to area 0 and area 1, and in addition, maintains routing information for another, non-OSPF network, it falls under three different classifications: a backbone router, an ABR, and an ASBR. Por ejemplo, si un router se conecta a la zona 0 y zona 1, y, adems, mantiene la informacin de enrutamiento para otro, la red no OSPF, cae bajo tres clasificaciones diferentes: un router backbone, un ABR, y un ASBR.

6.1.2 Multiarea OSPF LSA Operation6.1.2.1 OSPF LSA TypesLSA son los bloques de construccin de la OSPF LSDB. Individually, they act as database records and provide specific OSPF network details. Individualmente, actan como registros de base de datos y proporcionar detalles especficos de la red OSPF. In combination, they describe the entire topology of an OSPF network or area. En combinacin, describen toda la topologa de una red OSPF o rea. The RFCs for OSPF currently specify up to 11 different LSA types (Figure 1).Los RFC para OSPF especifican actualmente hasta 11 tipos diferentes de LSA (Figura 1). However, any implementation of multiarea OSPF must support the first five LSAs: LSA 1 to LSA 5 (Figure 2). Sin embargo, cualquier aplicacin de multiarea OSPF debe ser compatible con los primeros cinco LSA: LSA 1 a 5 LSA (Figura 2). The focus of this topic is on these first five LSAs. El enfoque de este tema es en estos primeros cinco LSA. Each router link is defined as an LSA type.Cada enlace enrutador se define como un tipo de LSA. The LSA includes a link ID field that identifies, by network number and mask, the object to which the link connects. La LSA incluye un campo ID de enlace que identifica, por nmero de red y la mscara, el objeto al que se conecta el enlace. Depending on the type, the link ID has different meanings. Dependiendo del tipo, el ID de enlace tiene diferentes significados. LSAs differ on how they are generated and propagated within the routing domain. LSA difieren en la forma en que se generan y propagan en el dominio de enrutamiento. Note : OSPFv3 includes additional LSA types. Nota: OSPFv3 incluye los tipos de LSA adicionales.

6.1.2.2 OSPF LSA Type 1Como se muestra en la figura, todos los enrutadores anuncian sus enlaces habilitados para OSPF conectados directamente en un tipo 1 LSA y enviar su informacin de la red a los vecinos OSPF. The LSA contains a list of the directly connected interfaces, link types, and link states. La LSA contiene una lista de las interfaces conectadas directamente, tipos de enlaces, y estados de enlace. Type 1 LSAs are also referred to as router link entries. Tipo 1 LSA tambin se les conoce como entradas de enlace del router. Type 1 LSAs are flooded only within the area in which they originated. Tipo 1 LSAs se inundan slo dentro de la zona en que se originaron. ABRs subsequently advertise the networks learned from the type 1 LSAs to other areas as type 3 LSAs. ABRs posteriormente publique las redes aprendidas del tipo 1 LSA a otras reas como tipo 3 LSA. The type 1 LSA link ID is identified by the router ID of the originating router. El tipo 1 LSA enlace ID es identificado por el ID de router del router de origen.

6.1.2.3 OSPF LSA Type 2Un tipo 2 LSA slo existe para multiacceso sin broadcast (NBMA) redes multiacceso y donde hay un DR elegido y por lo menos dos routers en el segmento de multiacceso. The type 2 LSA contains the router ID and IP address of the DR, along with the router ID of all other routers on the multiaccess segment. La LSA tipo 2 contiene la direccin IP del router y ID de la DR, junto con el ID del router de todos los dems routers en el segmento de multiacceso. A type 2 LSA is created for every multiaccess network in the area.Se crea un tipo 2 LSA para cada red de accesos mltiples en la zona. The purpose of a type 2 LSA is to give other routers information about multiaccess networks within the same area. El propsito de un LSA tipo 2 es dar a otros routers informacin sobre redes de accesos mltiples dentro de la misma zona. The DR floods type 2 LSAs only within the area in which they originated. El DR inunda tipo 2 LSA slo dentro de la zona en que se originaron. Type 2 LSAs are not forwarded outside of an area. Tipo 2 LSA no se reenvan fuera de un rea. Type 2 LSAs are also referred to as network link entries. Tipo 2 LSA tambin se les conoce como entradas de enlace de la red. As shown in the figure, ABR1 is the DR for the Ethernet network in area 1. It generates the type 2 LSA and forwards it into area 1. ABR2 is the DR for the multiaccess network in area 0. There are no multiaccess networks in area 2 and therefore, no type 2 LSAs are ever propagated in that area. Como se muestra en la figura, ABR1 es el DR para la red Ethernet en el rea 1. Genera la LSA tipo 2 y la enva al rea 1. ABR2 es el DR para la red de accesos mltiples en el rea de 0 No hay redes de accesos mltiples en el rea 2 y por lo tanto, no hay tipo 2 LSA se propagan cada vez en esa rea. The link-state ID for a network LSA is the IP interface address of the DR that advertises it. El ID de estado de enlace para una LSA de red es la direccin de la interfaz IP del DR que anuncia que.

6.1.2.4 OSPF LSA Type 3Tipo 3 LSA son utilizados por ABRs para anunciar las redes de otras reas. ABRs collect type 1 LSAs in the LSDB. ABRs recogen tipo 1 LSA en el LSDB. After an OSPF area has converged, the ABR creates a type 3 LSA for each of its learned OSPF networks. Despus de un rea OSPF ha convergido, el ABR crea un LSA de tipo 3 para cada una de sus redes OSPF aprendido. Therefore, an ABR with many OSPF routes must create type 3 LSAs for each network. Por lo tanto, un ABR con muchas rutas OSPF debe crear el tipo 3 LSA para cada red. As shown in the figure, ABR1 and ABR2 floods type 3 LSAs from one area to other areas.Como se muestra en la figura, ABR1 y ABR2 inundaciones de tipo 3 LSA de un rea a otras reas.The ABRs propagate the type 3 LSAs into other areas. Los ABRs propagan el tipo 3 LSA en otras reas. In a large OSPF deployment with many networks, propagating type 3 LSAs can cause significant flooding problems. En un gran despliegue OSPF con muchas redes, propagando tipo 3 LSA pueden causar problemas de inundaciones importantes. For this reason, it is strongly recommended that manual route summarization be configured on the ABR. Por esta razn, se recomienda encarecidamente que el resumen de ruta manual de configurar en el ABR.The link-state ID is set to the network number and the mask is also advertised.El ID de estado de enlace se establece en el nmero de red y la mscara tambin se anuncia.Receiving a type 3 LSA into its area does not cause a router to run the SPF algorithm.Recepcin de un LSA de tipo 3 en su zona no causa un router para ejecutar el algoritmo SPF. The routes being advertised in the type 3 LSAs are appropriately added to or deleted from the router's routing table, but a full SPF calculation is not necessary.Las rutas que se anuncian en el tipo 3 LSAs se aaden adecuadamente o eliminan de la tabla de enrutamiento del router, pero un clculo SPF completo no es necesario.

6.1.2.5 OSPF LSA Type 4Tipo 4 y tipo 5 LSAs se utilizan en conjunto para identificar un ASBR y publicitar las redes externas en un dominio de enrutamiento OSPF. A type 4 summary LSA is generated by an ABR only when an ASBR exists within an area. Un tipo 4 Resumen de LSA es generado por un ABR slo cuando existe un ASBR dentro de un rea. A type 4 LSA identifies the ASBR and provides a route to it. Un tipo 4 LSA identifica el ASBR y ofrece una ruta a la misma. All traffic destined to an external autonomous system requires routing table knowledge of the ASBR that originated the external routes. Todo el trfico destinado a un sistema autnomo externo requiere tabla de enrutamiento conocimiento de la ASBR que origin las rutas externas. As shown in the figure, the ASBR sends a type 1 LSA, identifying itself as an ASBR. Como se muestra en la figura, el ASBR enva un tipo 1 LSA, se identifica como un ASBR. The LSA includes a special bit known as the external bit (e bit) that is used to identify the router as an ASBR. La LSA incluye un bit especial conocido como el bit externa (e bits) que se utiliza para identificar el router como un ASBR. When ABR1 receives the type 1 LSA, it notices the e bit, it builds a type 4 LSA, and then floods the type 4 LSA to the backbone (area 0). Cuando ABR1 recibe el tipo 1 LSA, que da cuenta de la direccin de bits, se construye un LSA de tipo 4 y, a continuacin, inunda el tipo 4 LSA para la columna vertebral (zona 0). Subsequent ABRs flood the type 4 LSA into other areas. ABRs posteriores inundan el tipo 4 LSA en otras reas. The link-state ID is set to the ASBR router ID. El ID de estado de enlace se establece en el ID de enrutador ASBR.

6.1.2.6 OSPF LSA Type 5Tipo 5 LSA externos describen rutas a redes fuera del sistema autnomo OSPF. Type 5 LSAs are originated by the ASBR and are flooded to the entire autonomous system. Tipo 5 LSA se originan por el ASBR y se inundan a todo el sistema autnomo. Type 5 LSAs are also referred to as autonomous system external LSA entries.Tipo 5 LSA tambin se les conoce como sistema autnomo entradas LSA externos. In the figure, the ASBR generates type 5 LSAs for each of its external routes and floods it into the area.En la figura, el ASBR genera Tipo 5 LSA para cada una de sus rutas y lo inunda externos a la zona. Subsequent ABRs also flood the type 5 LSA into other areas. ABRs posteriores tambin inundan el tipo 5 LSA en otras reas. Routers in other areas use the information from the type 4 LSA to reach the external routes.Los routers de otras reas utilizan la informacin del tipo 4 LSA para llegar a las rutas externas. In a large OSPF deployment with many networks, propagating multiple type 5 LSAs can cause significant flooding problems.En un gran despliegue OSPF con muchas redes, se propagan tipo mltiple 5 LSA pueden causar problemas de inundaciones importantes. For this reason, it is strongly recommended that manual route summarization be configured on the ASBR. Por esta razn, se recomienda encarecidamente que el resumen de ruta manual de configurar en el ASBR. The link-state ID is the external network number.El ID de estado de enlace es el nmero de red externa.

6.1.3 OSPF Routing Table and Types of Routes6.1.3.1 OSPF Routing Table EntriesFigura 1 se presenta una tabla de enrutamiento de ejemplo para una multiarea topologa OSPF con un enlace a una red que no es OSPF externa. OSPF routes in an IPv4 routing table are identified using the following descriptors:Rutas OSPF en una tabla de enrutamiento IPv4 se identifican utilizando los siguientes descriptores: O - Router (type 1) and network (type 2) LSAs describe the details within an area. O - Router (tipo 1) y de red (tipo 2) LSAs describen los detalles dentro de un rea. The routing table reflects this link-state information with a designation of O , meaning that the route is intra-area. La tabla de enrutamiento refleja esta informacin del estado de enlace con denominacin de O, lo que significa que la ruta es intra-zona. O IA - When an ABR receives summary LSAs, it adds them to its LSDB and regenerates them into the local area.O IA - Cuando un ABR recibe LSA de resumen, se los agrega a su LSDB y los regenera en el rea local. Cuando un ABR recibe LSA externos, se los agrega a su LSDB y les inunda la zona. The internal routers then assimilate the information into their databases.Los routers internos entonces asimilar la informacin en sus bases de datos. Summary LSAs appear in the routing table as IA (interarea routes).Resumen LSA aparecen en la tabla de enrutamiento como IA (rutas Interrea). O E1 or O E2 - External LSAs appear in the routing table marked as external type 1 (E1) or external type 2 (E2) routes. O E1 o E2 O - LSA externos aparecen en la tabla de enrutamiento marcado como tipo externo 1 (E1) o de tipo externo 2 (E2) rutas. Figure 2 displays an IPv6 routing table with OSPF router, interarea, and external routing table entries.Figura 2 muestra una tabla de enrutamiento IPv6 con el router OSPF, Interrea, y entradas de la tabla de enrutamiento externos.

6.1.3.2 OSPF Route CalculationCada router utiliza el algoritmo SPF contra el LSDB para construir el rbol SPF. The SPF tree is used to determine the best paths.El rbol SPF se utiliza para determinar las mejores rutas. As shown in the figure, the order in which the best paths are calculated is as follows: Como se muestra en la figura, el orden en el que se calculan los mejores caminos es la siguiente: 1. All routers calculate the best paths to destinations within their area (intra-area) and add these entries to the routing table. 1. Todos los routers calcular las mejores rutas a destinos dentro de su rea (intra-zona) y aadir estas entradas a la tabla de enrutamiento. These are the type 1 and type 2 LSAs, which are noted in the routing table with a routing designator of O. (1) Estos son los tipos 1 y 2 LSA, que se observan en la tabla de enrutamiento con un designador de enrutamiento de O. (1) 2. All routers calculate the best paths to the other areas within the internetwork. 2. Todos los routers calcular las mejores rutas de acceso a las otras reas dentro de la red interna. These best paths are the interarea route entries, or type 3 and type 4 LSAs, and are noted with a routing designator of O IA. Estas mejores rutas son las entradas de ruta Interrea, o tipo 3 y tipo 4 LSA, y se observaron con un designador de enrutamiento de O IA. (2) (2) 3. All routers (except those that are in a form of stub area) calculate the best paths to the external autonomous system (type 5) destinations. 3. Todos los routers (excepto los que estn en una forma de rea de rutas internas) calculan las mejores rutas de acceso al sistema autnomo externo (tipo 5) destinos. These are noted with either an O E1 or an O E2 route designator, depending on the configuration. Estos se indican ya sea con un E1 O o un designador de ruta O E2, dependiendo de la configuracin. (3) (3) When converged, a router can communicate with any network within or outside the OSPF autonomous system. Cuando convergido, un router puede comunicarse con cualquier red dentro o fuera del sistema autnomo OSPF.

6.2 Configuring Multiarea OSPF6.2.1 Configuring Multiarea OSPF6.2.1.1 Implementing Multiarea OSPFOSPF se puede implementar como una sola rea o multiarea. The type of OSPF implementation chosen depends on the specific requirements and existing topology. El tipo de aplicacin OSPF elegido depende de los requisitos especficos y topologa existente. There are 4 steps to implementing multiarea OSPF, as displayed in the figure. Hay 4 pasos para multiarea implementacin OSPF, como se muestra en la figura. Steps 1 and 2 are part of the planning process. Los pasos 1 y 2 son parte del proceso de planificacin. Step 1. Gather the network requirements and parameters - This includes determining the number of host and network devices, the IP addressing scheme (if already implemented), the size of the routing domain, the size of the routing tables, the risk of topology changes, and other network characteristics. Paso 1: Rena los requisitos de la red y los parmetros - Esto incluye determinar el nmero de dispositivos de host y de red, el esquema de direccionamiento IP (si ya ejecutados), el tamao del dominio de enrutamiento, el tamao de las tablas de enrutamiento, el riesgo de cambios en la topologa , y otras caractersticas de la red. Step 2. Define the OSPF parameters - Based on information gathered during Step 1, the network administrator must determine if single-area or multiarea OSPF is the preferred implementation. Paso 2: Definir los parmetros OSPF - Con base en la informacin recopilada durante el Paso 1, el administrador de red debe determinar si una sola rea o multiarea OSPF es la implementacin preferida. If multiarea OSPF is selected, there are several considerations the network administrator must take into account while determining the OSPF parameters, to include: Si se selecciona multiarea OSPF, hay varias consideraciones que el administrador de red debe tener en cuenta al determinar los parmetros OSPF, para incluir: IP addressing plan - This governs how OSPF can be deployed and how well the OSPF deployment might scale. Plan de direccionamiento IP - Este regula la forma OSPF se puede implementar y qu tan bien podra escalar la implementacin OSPF. A detailed IP addressing plan, along with the IP subnetting information, must be created. Un plan de direccionamiento IP detallada, junto con la informacin de subredes IP, se debe crear. A good IP addressing plan should enable the usage of OSPF multiarea design and summarization. Un plan de direccionamiento IP buena debe permitir el uso de OSPF diseo multiarea y resumen. This plan more easily scales the network, as well as optimizes OSPF behavior and the propagation of LSA. Este plan escalas ms fcilmente a la red, as como optimiza el comportamiento OSPF y la propagacin de la LSA. OSPF areas - Dividing an OSPF network into areas decreases the LSDB size and limits the propagation of link-state updates when the topology changes. reas OSPF - La divisin de una red OSPF en reas reduce el tamao LSDB y limita la propagacin de cambios de estado de enlace cuando cambia la topologa. The routers that are to be ABRs and ASBRs must be identified, as are those that are to perform any summarization or redistribution. Los routers que se van a ABRs y ASBRs deben ser identificados, como lo son los que son para realizar cualquier resumen o redistribucin. Network topology - This consists of links that connect the network equipment and belong to different OSPF areas in a multiarea OSPF design. Topologa de red - Consiste de enlaces que conectan el equipo de red y que pertenecen a diferentes reas OSPF en un diseo multiarea OSPF. Network topology is important to determine primary and backup links. Topologa de red es importante para determinar los vnculos primarios y de reserva. Primary and backup links are defined by the changing OSPF cost on interfaces. Enlaces primario y de reserva estn definidas por el costo de cambiar OSPF en las interfaces. A detailed network topology plan should also be used to determine the different OSPF areas, ABR, and ASBR as well as summarization and redistribution points, if multiarea OSPF is used.Un plan de topologa de red detallada debe utilizarse tambin para determinar las diferentes reas OSPF, ABR, y ASBR, as como puntos de integracin y de redistribucin, si se utiliza multiarea OSPF.Step 3. Configure the multiarea OSPF implementation based on the parameters. Paso 3: Configurar la implementacin OSPF multiarea basado en los parmetros. Step 4. Verify the multiarea OSPF implementation based on the parameters. Paso 4: Verificar la implementacin OSPF multiarea basado en los parmetros.

6.2.1.2 Configuring Multiarea OSPFLa Figura 1 muestra la referencia multiarea topologa OSPF. In this example: En este ejemplo: R1 is an ABR because it has interfaces in area 1 and an interface in area 0. R1 es un ABR porque tiene interfaces en zona 1 y una interfaz en la zona 0. R2 is an internal backbone router because all of its interfaces are in area 0. R2 es un router de red troncal interna porque todas sus interfaces se encuentran en el rea 0. R3 is an ABR because it has interfaces in area 2 and an interface in area 0. R3 es un ABR porque tiene interfaces en zona 2 y una interfaz en la zona 0. There are no special commands required to implement this multiarea OSPF network.No hay instrucciones especiales requeridas para implementar esta red OSPF multiarea. A router simply becomes an ABR when it has two network statements in different areas. Un router simplemente se convierte en un ABR cuando tiene dos sentencias de red en diferentes reas. As shown in Figure 2, R1 is assigned the router ID 1.1.1.1.Como se muestra en la Figura 2, R1 se le asigna el ID del router 1.1.1.1. This example enables OSPF on the two LAN interfaces in area 1. The serial interface is configured as part of OSPF area 0. Because R1 has interfaces connected to two different areas, it is an ABR. Este ejemplo habilita OSPF en las dos interfaces LAN en la zona 1 La interfaz serie est configurada como parte de rea OSPF 0 Porque R1 tiene interfaces conectadas a dos reas diferentes, es un ABR. Use the Syntax Checker in Figure 3 to configure multiarea OSPF on R2 and R3.Utilice el comprobador de sintaxis en la figura 3 para configurar multiarea OSPF en R2 y R3. In this Syntax Checker, on R2, use the wildcard mask of the interface network address. En este comprobador de sintaxis, en R2, utilice la mscara comodn de la direccin de red de la interfaz. On R3, use the 0.0.0.0 wildcard mask for all networks. En R3, utilice la mscara 0.0.0.0 comodn para todas las redes. Upon completion of the R2 configuration, notice the informational messages informing of the adjacency with R1 (1.1.1.1).Al finalizar la configuracin R2, observe los mensajes informativos que informan de la adyacencia con R1 (1.1.1.1). Upon completion of the R3 configuration, notice the informational messages informing of an adjacency with R2 (2.2.2.2).Una vez completada la configuracin de R3, observe los mensajes informativos que informan de una adyacencia con R2 (2.2.2.2). Also notice how the IP addressing scheme used for the router ID makes it easy to identify the neighbor. Observe tambin cmo el esquema de direccionamiento IP se utiliza para el ID del router hace que sea fcil de identificar el vecino. Note : The inverse wildcard masks used to configure R2 and R3 purposely differ to demonstrate the two alternatives to entering network statements.Nota: Las mscaras comodn inversas se utilizan para configurar R2 y R3 propsito difieren para demostrar las dos alternativas a entrar sentencias de red. The method used for R3 is simpler because the wildcard mask is always 0.0.0.0 and does not need to be calculated. El mtodo utilizado para R3 es ms simple porque la mscara comodn es siempre 0.0.0.0 y no necesita ser calculado.

6.2.1.3 Configuring Multiarea OSPFv3Como OSPFv2, la aplicacin de la multiarea OSPFv3 topologa de la Figura 1 es simple. There are no special commands required. No hay instrucciones especiales requeridas. A router simply becomes an ABR when it has two interfaces in different areas. Un router simplemente se convierte en un ABR cuando tiene dos interfaces en diferentes reas. For example in Figure 2, R1 is assigned the router ID 1.1.1.1. Por ejemplo en la Figura 2, R1 se le asigna el ID del router 1.1.1.1. The example also enables OSPF on the LAN interface in area 1 and the serial interface in area 0. Because R1 has interfaces connected to two different areas, it becomes an ABR. El ejemplo tambin permite OSPF en la interfaz LAN en el rea 1 y la interfaz serial en el rea 0. Porque R1 tiene interfaces conectadas a dos zonas diferentes, se convierte en un ABR. Use the Syntax Checker in Figure 3 to configure multiarea OSPFv3 on R2 and on R3. Utilice el comprobador de sintaxis en la figura 3 para configurar multiarea OSPFv3 en R2 y en R3. Upon completion of the R2 configuration, notice the message that there is an adjacency with R1 (1.1.1.1). Al finalizar la configuracin R2, observe el mensaje de que hay una adyacencia con R1 (1.1.1.1). Upon completion of the R3 configuration, notice the message that there is an adjacency with R2 (2.2.2.2). Al finalizar la configuracin R3, observe el mensaje de que hay una adyacencia con R2 (2.2.2.2).

6.2.2 OSPF Route Summarization6.2.2.1 OSPF Route SummarizationSummarization ayuda a mantener las tablas de enrutamiento pequea. It involves consolidating multiple routes into a single advertisement, which can then be propagated into the backbone area.Se trata de la consolidacin de mltiples rutas en un solo anuncio, que luego puede ser propagada en el rea de red troncal. Normally, type 1 and type 2 LSAs are generated inside each area, translated into type 3 LSAs, and sent to other areas.Normalmente, el tipo 1 y tipo 2 LSA se generan dentro de cada rea, traducidos al tipo 3 LSA, y enviados a otras zonas. If area 1 had 30 networks to advertise, then 30 type 3 LSAs would be forwarded into the backbone. Si el rea 1 tuvo 30 redes de publicidad, a continuacin, 30 tipo 3 LSAs se transmiti en la cadena principal. With route summarization, the ABR consolidates the 30 networks into one of two advertisements. Con el resumen de ruta, el ABR consolida las 30 redes en uno de los dos anuncios.In Figure 1, R1 consolidates all of the network advertisements into one summary LSA.En la Figura 1, R1 consolida todos los anuncios de la red en una sola resumen LSA. Instead of forwarding individual LSAs for each route in area 1, R1 forwards a summary LSA to the core router C1. En lugar de reenviar LSA individuales para cada ruta en el rea 1, R1 enva un LSA de resumen a la C1 router de ncleo. C1 in turn, forwards the summary LSA to R2 and R3. C1, a su vez, reenva la LSA de resumen para R2 y R3. R2 and R3 then forward it to their respective internal routers. R2 y R3 reenviarla a sus respectivos routers internos. Summarization also helps increase the network's stability, because it reduces unnecessary LSA flooding.Summarization tambin ayuda a aumentar la estabilidad de la red, ya que reduce las inundaciones LSA innecesaria. This directly affects the amount of bandwidth, CPU, and memory resources consumed by the OSPF routing process. Esto afecta directamente a la cantidad de ancho de banda, CPU y recursos de memoria consumida por el proceso de enrutamiento OSPF. Without route summarization, every specific-link LSA is propagated into the OSPF backbone and beyond, causing unnecessary network traffic and router overhead. Sin el resumen de ruta, cada enlace especfico LSA se propaga en la troncal de OSPF y ms all, haciendo que el trfico innecesario en la red y los gastos generales router. In Figure 2, a network link on R1a fails.En la Figura 2, un enlace de red en R1a falla. R1a sends an LSA to R1. R1a enva una LSA a R1. However, R1 does not propagate the update, because it has a summary route configured. Sin embargo, R1 no propagar la actualizacin, ya que tiene una ruta de resumen configurado. Specific-link LSA flooding outside the area does not occur. Especfica-link inundaciones LSA fuera de la zona no se produce.

6.2.2.2 Interarea and External Route SummarizationEn OSPF, el resumen slo se puede configurar en ABRs o ASBRs. Instead of advertising many specific networks, the ABR routers and ASBR routers advertise a summary route. En lugar de hacer publicidad de muchas redes especficas, los routers ABR y routers ASBR anuncian una ruta de resumen. ABR routers summarize type 3 LSAs and ASBR routers summarize type 5 LSAs. Routers ABR resumen tipo 3 LSA y routers ASBR resumen de tipo 5 LSA. By default, summary LSAs (type 3 LSAs) and external LSAs (type 5 LSAs) do not contain summarized (aggregated) routes; De forma predeterminada, LSA de resumen (tipo 3 LSA) y LSA externos (tipo 5 LSA) no contienen resumidos (agregados) rutas; that is, by default, summary LSAs are not summarized. es decir, por defecto, LSA de resumen no estn resumidos. As illustrated in Figures 1 and 2, route summarization can be configured as follows: Como se ilustra en las Figuras 1 y 2, el resumen de ruta se puede configurar como sigue: Interarea route summarization - Interarea route summarization occurs on ABRs and applies to routes from within each area.Interrea ruta de resumen Inter rea ruta de resumen se produce en los ABR y se aplica a las rutas desde el interior de cada rea. It does not apply to external routes injected into OSPF via redistribution.No se aplica a las rutas externas inyectadas en OSPF a travs de la redistribucin. To perform effective interarea route summarization, network addresses within areas should be assigned contiguously so that these addresses can be summarized into a minimal number of summary addresses.Para realizar el resumen de ruta Inter rea eficaz, las direcciones de red dentro de las reas se deben asignar de forma contigua para que estas direcciones se pueden resumir en un nmero mnimo de direcciones de resumen. External route summarization - External route summarization is specific to external routes that are injected into OSPF via route redistribution.El resumen de ruta externa - el resumen de ruta externa es especfico de rutas externas que se inyectan en OSPF mediante la redistribucin de rutas. Again, it is important to ensure the contiguity of the external address ranges that are being summarized.Una vez ms, es importante para asegurar la contigidad de los rangos de direcciones externas que se estn resumidos. Generally, only ASBRs summarize external routes.En general, slo ASBRs resumen rutas externas. As shown in Figure 2, EIGRP external routes are summarized by ASBR R2 in a single LSA and sent to R1 and R3.Como se muestra en la Figura 2, las rutas externas EIGRP se resumen por ASBR R2 en un solo LSA y enviados a R1 y R3.Note : External route summarization is configured on ASBRs using the summary-address address mask router configuration mode command.Nota: el resumen de ruta externa se configura en ASBRs utilizando el comando de modo de configuracin del router mscara de direccin de resumen-direccin.

6.2.2.3 Interarea Route SummarizationOSPF no realiza el resumen automtico. Interarea summarization must be manually configured on ABRs. Resumen Interrea debe configurarse manualmente en ABR. Summarization of internal routes for Interarea distribution can only be accomplished on ABRs. Recapitulacin de las rutas internas de distribucin Interrea slo se puede lograr en los ABR. When summarization is configured on an ABR, a single type 3 LSA describing the summary route is injected into the backbone area. Cuando el resumen se configura en un ABR, un solo tipo 3 LSA que describe la ruta de resumen se inyecta en el rea de red troncal. Multiple routes inside the area are summarized by the one LSA. Mltiples rutas dentro de la zona se resumen por el LSA. A summary route is generated if at least one subnet within the area falls in the summary address range. Una ruta de resumen se genera si al menos una subred dentro de la zona cae en el rango de direccin de resumen. The summarized route metric is equal to the lowest cost of all subnets within the summary address range. La mtrica de ruta resumida es igual al costo ms bajo de todas las subredes dentro de la gama direccin de resumen. Note : An ABR can only summarize routes that are within the areas connected to the ABR. Nota: Un ABR slo puede resumir rutas que estn dentro de las reas relacionadas con la ABR. Figure 1 shows a multiarea OSPF topology. La figura 1 muestra una topologa de OSPF multiarea. The routing tables of R1 and R3 are examined to see the effect of the summarization. Las tablas de enrutamiento de R1 y R3 son examinados para ver el efecto de la integracin. Figure 2 displays the R1 routing table before summarization is configured, while Figure 3 displays the R3 routing table. Figura 2 muestra la tabla de enrutamiento de R1 antes resumen est configurado, mientras que la figura 3 muestra la tabla de enrutamiento R3. Notice how R3 currently has two interarea entries to the R1 area 1 networks. Observe cmo actualmente R3 tiene dos entradas Interrea a la zona R1 1 redes.

6.2.2.4 Calculating the Summary RouteLa figura ilustra que resume las redes en una sola direccin y la mscara se puede hacer en tres pasos: Step 1. List the networks in binary format.Paso 1: Enumere las redes en formato binario. In the example, the two area 1 networks 10.1.1.0/24 and 10.1.2.0/24 are listed in binary format. En el ejemplo, las dos redes de rea 1 10.1.1.0/24 y 10.1.2.0/24 se listan en formato binario. Step 2. Count the number of far left matching bits to determine the mask for the summary route.Paso 2: Cuente el nmero de bits coincidentes extrema izquierda para determinar la mscara para la ruta de resumen. As highlighted, the first 22 far left matching bits match. Como se ha destacado, los primeros 22 bits coincidentes extrema izquierda coinciden. This results in the prefix /22 or subnet mask 255.255.252.0 . Esto resulta en el prefijo /22 o la mscara de subred 255.255.252.0. Step 3. Copy the matching bits and then add zero bits to determine the summarized network address.Paso 3: Copie los bits coincidentes y luego agregar bits cero para determinar la direccin de red resumida. In this example, the matching bits with zeros at the end result in a network address of 10.1.0.0/22. En este ejemplo, los bits coincidentes con ceros en el resultado final de una direccin de red 10.1.0.0/22. This summary address summarizes four networks: 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24. Esta direccin de resumen resume cuatro redes: 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24 y 10.1.3.0/24. In the example the summary address matches four networks although only two networks exist. En el ejemplo de la direccin de resumen coincide con cuatro redes, aunque slo existen dos redes.

6.2.2.5 Configuring Interarea Route SummarizationEn la Figura 1, para demostrar el efecto de resumen de ruta, R1 est configurado para resumir el rea interna 1 rutas. To manually configure interarea route summarization on an ABR, use the area area-id range address mask router configuration mode command.Para configurar manualmente Interrea ruta de resumen en un ABR, utilice el comando de modo de configuracin del router mscara de direccin gama rea area-id. This instructs the ABR to summarize routes for a specific area before injecting them into a different area, via the backbone as type 3 summary LSAs. Esto indica al ABR resumir rutas para un rea especfica antes de inyectarlas en un rea diferente, a travs de la columna vertebral como LSA tipo 3 Resumen. Note : In OSPFv3, the command is identical except for the IPv6 network address.Nota: En OSPFv3, el comando es idntica excepto por la direccin de red IPv6. The command syntax for OSPFv3 is area area-id range prefix/prefix-length . La sintaxis de comandos para OSPFv3 es rea area-id prefijo / campo de prefijo de longitud. Figure 2 summarizes the two internal area 1 routes into one OSPF interarea summary route on R1.La figura 2 resume los dos rea interna 1 rutas en un solo OSPF ruta de resumen Interrea en R1. The summarized route 10.1.0.0/22 actually summarizes four network addresses, 10.1.0.0/24 to 10.1.3.0/24. La ruta resumida 10.1.0.0/22 realidad resume cuatro direcciones de red, 10.1.0.0/24 a 10.1.3.0/24. Figure 3 displays the OSPF routes from the IPv4 routing table of R1.Figura 3 muestra las rutas OSPF de la tabla de enrutamiento IPv4 de R1. Notice how a new entry has appeared with a Null0 exit interface. Observe cmo ha aparecido una nueva entrada con una interfaz de salida Null0. The Cisco IOS automatically creates a summary route to the Null0 interface when manual summarization is configured to prevent routing loops. El Cisco IOS crea automticamente una ruta de resumen a la interfaz Null0 cuando el resumen manual est configurado para evitar bucles de enrutamiento. A packet sent to a null interface is dropped. Un paquete enviado a una interfaz nula se deja caer. For example, assume R1 received a packet destined for 10.1.0.10.Por ejemplo, supongamos R1 recibe un paquete destinado a 10.1.0.10. Although it would match the R1 summary route, R1 does not have another valid route in area 1. Therefore, R1 would refer to the routing table for the next longest match, which would be the Null0 entry. A pesar de que se correspondera con la ruta de resumen R1, R1 no tiene otra ruta vlida en zona 1 Por lo tanto, R1 se referira a la tabla de enrutamiento para el prximo partido ms largo, lo que sera la entrada Null0. The packet would get forwarded to the Null0 interface and dropped. El paquete conseguira remitido a la interfaz Null0 y cado. This prevents the router from forwarding the packet to a default route and possibly creating a routing loop. Esto evita que el enrutador de enviar el paquete a una ruta predeterminada y, posiblemente, la creacin de un bucle de enrutamiento. Figure 4 displays the updated R3 routing table.La figura 4 muestra la tabla de enrutamiento de R3 actualizado. Notice how there is now only one interarea entry going to the summary route 10.1.0.0/22. Observe cmo ahora hay slo una entrada Interrea ir a la ruta de resumen 10.1.0.0/22. Although this example only reduced the routing table by one entry, summarization could be implemented to summarize many networks. Aunque este ejemplo slo redujo la tabla de enrutamiento de una entrada, el resumen podra ser implementado para resumir muchas redes. This would reduce the size of routing tables. Esto reducira el tamao de las tablas de enrutamiento. Use the Syntax Checker in Figure 5 to summarize the area 2 routes on R3. Utilice el comprobador de sintaxis en la figura 5 para resumir la zona 2 rutas en R3.

6.2.3 Verifying Multiarea OSPF6.2.3.1 Verifying Multiarea OSPFLos mismos comandos de verificacin utilizados para verificar de una sola rea OSPF tambin se puede utilizar para verificar la multiarea OSPF topologa en la figura: show ip ospf neighbor espectculo ip ospf neighbor show ip ospf show ip ospf show ip ospf interface show interface ip ospf Commands that verify specific multiarea information include: Comandos que verifican la informacin especfica multiarea incluyen: show ip protocols show ip protocols show ip ospf interface brief show ip ospf interface brief show ip route ospf mostrar ip route ospf show ip ospf database Mostrar base de datos ip ospf Note : For the equivalent OSPFv3 command, simply substitute ip with ipv6 . Nota: Para el comando equivalente OSPFv3, simplemente ip sustituto con ipv6. 6.2.3.2 Verify General Multiarea OSPF SettingsUtilice el comando show ip protocols para verificar el estado de OSPF. The output of the command reveals which routing protocols are configured on a router. La salida del comando revela que los protocolos de enrutamiento se configuran en un router. It also includes routing protocol specifics such as the router ID, number of areas in the router, and networks included within the routing protocol configuration. Tambin incluye detalles de protocolo de enrutamiento como el ID del router, el nmero de zonas en el router y redes incluidas dentro de la configuracin del protocolo de enrutamiento. Figure 1 displays the OSPF settings of R1. La figura 1 muestra la configuracin de OSPF de R1. Notice that the command shows that there are two areas. Observe que el comando muestra que hay dos reas. The Routing for Networks section identifies the networks and their respective areas. El enrutamiento de la seccin Redes identifica las redes y sus respectivas reas. Use the show ip ospf interface brief command to display concise OSPF-related information of OSPF-enabled interfaces. Utilice la interfaz OSPF breve comando show ip para visualizar concisa la informacin relacionada con OSPF de las interfaces habilitadas para OSPF. This command reveals useful information, such as the OSPF process ID that the interface is assigned to, the area that the interfaces are in, and the cost of the interface. Este comando revela informacin til, tal como el ID del proceso OSPF que la interfaz se asigna a, el rea que las interfaces estn en, y el costo de la interfaz. Figure 2 verifies the OSPF-enabled interfaces and the areas to which they belong. Figura 2 verifica las interfaces habilitadas para OSPF y las reas a las que pertenecen. Use the Syntax Checker in Figure 3 to verify general settings on R2 and R3. Utilice el comprobador de sintaxis en la Figura 3 para comprobar la configuracin general en R2 y R3.

6.2.3.3 Verify the OSPF RoutesEl comando ms comn utilizada para verificar una configuracin OSPF multiarea es el comando show ip route. Add the ospf parameter to display only OSPF-related information. Aada el parmetro OSPF para mostrar informacin slo relacionados con OSPF. Figure 1 displays the routing table of R1. Figura 1 muestra la tabla de enrutamiento de R1. Notice how the O IA entries in the routing table identify networks learned from other areas. Observe cmo las entradas O IA en la tabla de enrutamiento identifican redes aprendidas de otras reas. Specifically, O represents OSPF routes, and IA represents interarea, which means that the route originated from another area. Especficamente, O representa las rutas OSPF, y IA representa Interrea, lo que significa que la ruta origin a partir de otra rea. Recall that R1 is in area 0, and the 192.168.1.0 and 192.168.2.0 subnets are connected to R3 in area 2. The [110/1295] entry in the routing table represents the administrative distance that is assigned to OSPF ( 110 ) and the total cost of the routes (cost of 1295 ). Recordemos que R1 est en la zona 0, y las subredes 192.168.1.0 y 192.168.2.0 estn conectados a R3 en la zona 2 El [110/1295] entrada en la tabla de enrutamiento representa la distancia administrativa que se asigna a OSPF (110) y el coste total de las rutas (costo de 1295). Use the Syntax Checker in Figure 2 to verify the routing table of R2 and R3 using the show ip route ospf command. Utilice el comprobador de sintaxis en la Figura 2 para verificar la tabla de enrutamiento de R2 y R3 con el comando show ip ospf ruta.

6.2.3.4 Verify the Multiarea OSPF LSDBUtilice el comando show ip ospf base de datos para verificar el contenido de la LSDB. There are many command options available with the show ip ospf database command. Hay muchas opciones de comandos disponibles con el comando show ip ospf database. For example, Figure 1 displays the content of the LSDB of R1. Por ejemplo, la Figura 1 muestra el contenido de la LSDB de R1. Notice R1 has entries for area 0 and area 1, because ABRs must maintain a separate LSDB for each area to which they belong. Aviso R1 tiene entradas para zona 0 y zona 1, porque ABRs deben mantener un LSDB separado para cada rea a la que pertenecen. In the output, Router Link States in area 0 identifies three routers. En la salida, Router Enlace Unidos en la zona 0 identifica tres routers. The Summary Net Link States section identifies networks learned from other areas and which neighbor advertised the network. La seccin Net Enlace Unidos Resumen identifica las redes aprendidas de otras reas y en qu vecino anunciado la red. Use the Syntax Checker in Figure 2 to verify the LSDB of R2 and R3 using the show ip ospf database command. Utilice el comprobador de sintaxis en la Figura 2 para verificar la LSDB de R2 y R3 con el comando show ip ospf database. R2 only has interfaces in area 0; R2 slo tiene interfaces en zona 0; therefore, only one LSDB is required. Por lo tanto, slo se requiere una LSDB. Like R1, R3 contains two LSDBs. Al igual que R1, R3 contiene dos LSDBs.

6.2.3.5 Verify Multiarea OSPFv3Como OSPFv2, OSPFv3 proporciona comandos de verificacin OSPFv3 similares. Refer to the reference OSPFv3 topology in Figure 1. Consulte la OSPFv3 topologa de referencia en la figura 1. Figure 2 displays the OSPFv3 settings of R1. Figura 2 muestra la configuracin de OSPFv3 R1. Notice that the command confirms that there are now two areas. Observe que el comando confirma que ahora hay dos reas. It also identifies each interface enabled for the respective area. Tambin identifica a cada interfaz habilitada para la zona respectiva. Figure 3 verifies the OSPFv3-enabled interfaces and the area to which they belong. Figura 3 verifica las interfaces OSPFv3 habilitada y la zona a la que pertenecen. Figure 4 displays the routing table of R1. Figura 4 muestra la tabla de enrutamiento de R1. Notice how the IPv6 routing table displays OI entries in the routing table to identify networks learned from other areas. Observe cmo la tabla de enrutamiento IPv6 muestra las entradas de OI en la tabla de enrutamiento para identificar redes aprendido de otras reas. Specifically, O represents OSPF routes, and I represents interarea, which means that the route originated from another area. Especficamente, O representa las rutas OSPF, y representa Interrea, lo que significa que la ruta origin a partir de otra rea. Recall that R1 is in area 0, and the 2001:DB8:CAFE3::/64 subnet is connected to R3 in area 2. The [110/1295] entry in the routing table represents the administrative distance that is assigned to OSPF ( 110 ) and the total cost of the routes (cost of 1295 ). Recordemos que R1 est en la zona 0, y el 2001: DB8: Cafe3 :: / 64 de subred est conectado a R3 en la zona 2 El [110/1295] entrada en la tabla de enrutamiento representa la distancia administrativa que se asigna a OSPF (110 ) y el costo total de las rutas (costo de 1295). Figure 5 displays the content of the LSDB of R1. Figura 5 se muestra el contenido de la LSDB de R1. The command offers similar information to its OSPFv2 counterpart. El comando ofrece informacin similar a su contraparte OSPFv2. However, the OSPFv3 LSDB contains additional LSA types not available in OSPFv2. Sin embargo, la OSPFv3 LSDB contiene tipos de LSA adicionales no disponibles en OSPFv2.

6.3.1.2 SummarySingle-rea OSPF es til en redes ms pequeas pero en redes ms grandes multiarea OSPF es una mejor opcin. Multiarea OSPF solves the issues of large routing table, large link-state database, and frequent SPF algorithm calculations, as shown in Figures 1 and 2. Multiarea OSPF resuelve los problemas de la gran mesa de enrutamiento, gran base de datos de estado de enlace, y los clculos del algoritmo SPF frecuentes, como se muestra en las figuras 1 y 2. The main area is called the backbone area (area 0) and all other areas must connect to the backbone area. El rea principal se llama el rea de red troncal (rea 0) y todas las dems reas se debe conectar a la zona de la columna vertebral. Routing still occurs between the areas while many of the routing operations, such as recalculating the database, are kept within an area. Enrutamiento persiste entre las reas, mientras que muchas de las operaciones de ruta, como volver a calcular la base de datos, se mantienen dentro de un rea. There are four different types of OSPF routers: Internal router, Backbone router, Area Border Router (ABR), and Autonomous System Boundary Router (ASBR). Hay cuatro tipos diferentes de routers OSPF: Router interna del router, Backbone, Zona Fronteriza Router (ABR) y Autnoma System Boundary Router (ASBR). A router can be classified as more than one router type. Un router puede ser clasificado como ms de un tipo de router. Link State Advertisements (LSAs) are the building blocks of OSPF.Enlace estatales anuncios (LSA) son los componentes bsicos de OSPF. This chapter concentrated on LSA type 1 to LSA type 5. Type 1 LSAs are referred to as the router link entries. En este captulo se concentra en LSA de tipo 1 a tipo LSA 5. tipo 1 LSA se conocen como las entradas de enlace de router. Type 2 LSAs are referred to as the network link entries and are flooded by a DR. Tipo 2 LSA se conocen como las entradas de enlace de red y se inundan por un DR. Type 3 LSAs are referred to as the summary link entries and are created and propagated by ABRs. Tipo 3 LSAs se conocen como las entradas de enlace de resumen y se crean y propagan por ABR. A type 4 summary LSA is generated by an ABR only when an ASBR exists within an area. Un tipo 4 Resumen de LSA es generado por un ABR slo cuando existe un ASBR dentro de un rea. Type 5 external LSAs describe routes to networks outside the OSPF autonomous system. Tipo 5 LSA externos describen rutas a redes fuera del sistema autnomo OSPF. Type 5 LSAs are originated by the ASBR and are flooded to the entire autonomous system.Tipo 5 LSA se originan por el ASBR y se inundan a todo el sistema autnomo. OSPF routes in an IPv4 routing table are identified using the following descriptors: O, O IA, O E1 or O E2.Rutas OSPF en una tabla de enrutamiento IPv4 se identifican utilizando los siguientes descriptores: O, O IA, O E1 o E2 O. Each router uses the SPF algorithm against the LSDB to build the SPF tree. Cada router utiliza el algoritmo SPF contra el LSDB para construir el rbol SPF. The SPF tree is used to determine the best paths. El rbol SPF se utiliza para determinar las mejores rutas. There are no special commands required to implement a multiarea OSPF network.No hay instrucciones especiales requeridas para implementar una red OSPF multiarea. A router simply becomes an ABR when it has two network statements in different areas.Un router simplemente se convierte en un ABR cuando tiene dos sentencias de red en diferentes reas. An example of multiarea OSPF configuration:Un ejemplo de configuracin de OSPF multiarea: R1(config)# router ospf 10Ospf R1 (config) # router de 10 R1(config-router)# router-id 1.1.1.1R1 (config-router) # router-id 1.1.1.1 R1(config-router)# network 10.1.1.1 0.0.0.0 area 1R1 (config-router) # network 10.1.1.1 0.0.0.0 zona 1 R1(config-router)# network 10.1.2.1 0.0.0.0 area 1R1 (config-router) # network 10.1.2.1 0.0.0.0 zona 1 R1(config-router)# network 192.168.10.1 0.0.0.0 area 0R1 (config-router) # network 192.168.10.1 0.0.0.0 area 0 OSPF does not perform auto summarization.OSPF no realiza el resumen automtico. In OSPF, summarization can only be configured on ABRs or ASBRs. En OSPF, el resumen slo se puede configurar en ABRs o ASBRs. Interarea route summarization must be manually configured and occurs on ABRs and applies to routes from within each area. Interrea ruta de resumen se debe configurar manualmente y se produce en ABR y se aplica a las rutas desde dentro de cada rea. To manually configure interarea route summarization on an ABR, use the area area-id range address mask router configuration mode command. Para configurar manualmente Interrea ruta de resumen en un ABR, utilice el comando de modo de configuracin del router mscara de direccin gama rea area-id. External route summarization is specific to external routes that are injected into OSPF via route redistribution. El resumen de ruta externa es especfico de rutas externas que se inyectan en OSPF mediante la redistribucin de rutas. Generally, only ASBRs summarize external routes. En general, slo ASBRs resumen rutas externas. External route summarization is configured on ASBRs using the summary-address address mask router configuration mode command. El resumen de ruta externa se configura en ASBRs utilizando el comando de modo de configuracin del router mscara de direccin de resumen-direccin. Commands that are used to verify OSPF configuration consist of the following: Los comandos que se utilizan para verificar la configuracin de OSPF consisten en lo siguiente: show ip ospf neighbor espectculo ip ospf neighbor show ip ospf show ip ospf show ip ospf interface show interface ip ospf show ip protocols show ip protocols show ip ospf interface brief show ip ospf interface brief show ip route ospf mostrar ip route ospf show ip ospf database Mostrar base de datos ip ospf