Chapter 3 implementing a scalable multiarea network ospfbased solution 41 ospf message types 42 ospf lsa types 43 configuring ospf 44 using wildcard masks with ospf areas 44 configuring multiarea ospf 45 loopback interfaces 45 router id 46 drbdr elections 46 passive interfaces 46. Instead of using 1 lsa packet ospf has many different types of lsas and in this tutorial im going to show all of them to you. This guide shows sample configurations of open shortest path first ospf in different network environments. D explanation the output of the show ip ospf database is shown below. Ospf uses the dijkstra shortest path first algorithm to determine the shortest path. Ospf is designed for scalability, so some lsas are not flooded out on all interfaces, but only on those that belong to the appropriate area. It took me s of hours reading books and doing labs, making mistakes over and over again until i mastered all the protocols for ccnp. Cisco courses, ccna training materials, articles, practice tests and labs.
Cisco router only supports lsa 1, 2, 3,4,5,7 and does not support other lsas. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. We will provide an overview on how the drbdr work and why ospf uses this kind of mechanisms ospf cisco basic configuration. Rfc 2328 ospf version 2 april 1998 interface the connection between a router and one of its attached networks. Type 7 lsas used to describe external lsa for one specific ospf area type 32. Multiple cisco products are affected by a vulnerability involving the open shortest path first ospf routing protocol link state advertisement lsa database. This vulnerability could allow an unauthenticated, remote attacker to take full control of the ospf autonomous system as domain routing table, allowing the attacker to intercept or blackhole traffic. Its a big book 845 pages so it teaches you a lot more about ospf than the two routing tcpip books from jeff doyle or the cisco press certification guide.
Ospf uses five types of routing protocol packets, which share a common protocol header. Use cisco feature navigator to find information about platform support and cisco ios and catalyst os. Rfc 2328 ospf version 2 april 1998 router generates an lsa for the network and has other special responsibilities in the running of the protocol. Ospf lsa types in ospf linkstate information, in other words,routing information is exchanged between routers. Redistribute them in ospf so they show up as external routes on router jack.
Summarylsa ip network 3 which means it was generated by an abr ospf router link state advertisement lsa packet structure within a link state update lsu. This is done by collecting routing information from the rest of the routers in ospf domain. Most often used lsa types, router origin type, their function and areas affected. Consider the total cost up to the external destination e2. Its an interior gateway protocol igp meaning it been designed to be used within a single autonomous system. Ospf lsa types purpose and function of every ospf lsa. Ospf employs a hierarchical network design using areas. Ospf lsa types ccna, cisco systems, cisco networking. Devicelsastype1describesthelinkstateandcostsofadevice.
Ospf has 11 lsa types from 1 to 11 but some of them are not used like type 6 multicast lsa, 8 used for bgp, 9, 10, 11 opaque lsas. It is similar to standard area but it is build as area 0. All lsas are flooded throughout the ospf routing domain. Network lsa type 2 generated by all designated routers in ospf, and contains a list of all. Cisco routers derive the router id in one of three ways and with the following precedence. This chapter from implementing cisco ip routing route. Same abr generates type5 and type7 lsa for the same network. Ospf area types and lsas you dont want to read this. Ospf being an open standard protocol works for each vendor router.
The ospf process id does not need to match to form a neighbor adjacency. Ospf lsa types in cisco multiarea environment icnd2 200105. When a link state router begins operating on a network link, information associated with that logical network is added to its local link state database lsdb. According to the rfc, when an nssa border router originates both a type5 lsa and a type7 lsa for the same network, then the pbit must be clear in the type7 lsa so that it isnt translated into. Types of lsas linkstate advertisements ccna geek university. Ospf open shortest path first link state or spf technology developed by ospf working group of ietf rfc 1247. It communicates the routers local routing topology to all other local routers in the same ospf area. A look at the new lsa types in ospfv3 with vyatta and cisco. Ospf routers and links are grouped logically into areas that are identified by assigned numbers. Rs coming up soon cisco live 2015 i figured this would be a good time to back over some basics, and when.
This same rule applies to nonbackbone, non stub area routers. This type of lsa, can be found in any ospf area type. Looking at the ospf packet captured with our network analyzer, we can now understand that the specific lsa was a type3 lsa ls type. I was looking for an elegant solution to hold my cisco gear for my ccna certification.
Ospf for cisco routers will provide you with the information you need to master ospf the most popular, open, nonproprietary, robust and highly flexible ip routing protocol of choice in today s complex internetworks. Yet another ciscoconcocted area type, the nssa is a variant of the stub area type but is allowed to contain an autonomous system border router. Passing scores on written exams are automatically downloaded from testing vendors, but may not appear immediately. The designated router is elected by the hello protocol. The ospf abr type 3 lsa filtering feature extends the ability of an abr that is running the ospf protocol to filter type 3 linkstate advertisements lsas that are sent between different ospf areas. Oct 01, 2003 ospf for cisco routers will provide you with the information you need to master ospf the most popular, open, nonproprietary, robust and highly flexible ip routing protocol of choice in today s complex internetworks. Lsa type 6 multicast lsa this type of lsa is used for multicast applications. Ospf adheres to the following link state characteristics. The designated router concept enables a reduction in the number of. Ospf will form neighbor relationships with adjacent routers in the same area. We use pim protocol independent multicast for multicast configurations. Since type 5 lsas are not permitted in stub areas of any type, a type 7 lsa is used. The flooding is reliable, ensuring all routers have the same collection of lsas. Aug 10, 2005 this guide shows sample configurations of open shortest path first ospf in different network environments.
Ospf configuration guide, cisco ios release 15sy 3 ipv6 routing. Its a big book 845 pages so it teaches you a lot more about ospf than the two routing tcpip books. Ospf normally sends hello packets every 10 seconds and set the dead timer to 40 seconds. An ospf router uses lsa type 1 packets to describe its own interfaces but also carries information about its neighbors to adjacent routers in the same area. Multiple cisco products ospf lsa manipulation vulnerability. Multiple lsa entries can fit in one ospf update packet data for lsack packet. Ospf is commonly used in large service provider networks or large financial institutions. Lsa type 8 packets external attributes lsa ospfv2 link local lsa ospfv3 in ospfv2 ipv4 are called external attribute lsas, and are used to transit bgp attributes through an ospf network while bgp destinations are conveyed via lsa type 5 packets, however, this feature isnt supported by most routers.
Every ospf packet is directly encapsulated in the ip header. Ospf supports variable length subnet masks vlsm and route summarization. Ccnp routing and switching portable command guide, 2e. This collection of lsas is called linkstate database lsdb. This feature allows only packets with specified prefixes to be sent from one area to another area and restricts all packets with other prefixes. Command reference books contain descriptions of cisco ios commands that are supported in many different software releases and on many different platforms. Here you have the list of ospf lsas and a short description. Type 1 lsas are generated by all routers in ospf, and are flooded to all other routers within the local area.
So lots of good information in lsa1, think of these as a blueprint of the router, describing what is has and what it is doing. These lsa types are generated by the dr designated router and one type2 lsa is generated for every network with two or more ospf neighbors. Understanding basic open shortest path first ospf routing principles not only applies to the ccnp certification but to all cisco based certifications. Hello and dead timers must match to form adjacency. Supports opaque lsa spf schedule delay 5 secs, hold time between two spfs 10 secs. As a best practice, you can use manual route summarization on abrs. Ospf is a linkstate routing protocol, which in contrast to distance vector routing protocols enable the router to have a map of the whole ospf domain. From the output above we can see lsa type 1 router link state and lsa type 3 summary net link state. Well this is packet type or its communicated in packet type 4 called an linkstate update, or lsu.
May 14, 2015 so lots of good information in lsa1, think of these as a blueprint of the router, describing what is has and what it is doing. Router lsa type 1 contains a list of all links local to the router, and the status and cost of those links. Mospf is not supported by cisco and is not widely used and is expected to be. A concrete understanding of how ospf routing works is fundamental for any small or large network. The following information is applicable to all ccie lab and practical exams. Ospf packet types and format ospf network topology. Ospf lsa types explained with the help of network diagrams and examples. Route redistribution into an nssa area is possible only with a type 7 lsa. Ospfv3 lsa types each lsa begins with a standard 20byte lsa header. Deep understanding of ospf link state advertisments lsas is crucial to understand ospf behavior. These lsas can be flooded throughout the ospfv3 routing domain. Lsa type 1 router lsa packets are sent between routers within the same area of origin and do not leave the area. From the basic overview of ip routing to the most complex components of ospf, everything is covered in great detail. Lsa type 7 nssa external lsa type 7 lsa allow injection of external routes throug notsostubbyareas nssa.
Then we will take a look at some lsa information from screen captures from vyatta and cisco, showing the same information just a little different format. Using multiple ospf areas reduces the frequency of spf dijkstra calculations, the size of routing tables, as well as. Router link lsa type 1 each router generates a type 1 lsa that lists its active interfaces, ip addresses, neighbors and the. The linkstate advertisement lsa is a basic communication means of the ospf routing protocol for the internet protocol ip. Link state advertisements lsas are the buildinh blocks of ospf. Ospf is very scalable and was designed specificly for larger networks. Once you have passed the ccie written exam, you are eligible to schedule your ccie lab and practical exam. Building the linkstate database ospf implementation cisco. Whether you are preparing for the cisco ip routing exam or you are an experienced network engineer planning to implement the open shortest path first ospf routing protocol, you should familiarize yourself with the capability to divide your network into separate ospf areas.
Considers only the cost of the outgoing interface to the external destination. Summary lsa ip network 3 which means it was generated by an abr ospf router. Specifically, the purpose of this guide is to examine the ospf database in various environments. It accepts, lsa type 1, type 2, type 3, type 4 and type 5 lsas. The linkstate advertisement lsa is a basic communcation means of the ospf routing protocol. These lsa types are generated by the dr designated router and one type2 lsa is generated for every network with two or. Routing information is exchanged between routers by using lsas link state advertisements. Backbone area area 0 backbone area area 0 is the central of ospf network and all the other areas are connected to thsese backbone area. For many people it helps to visualize things in order to understand and remember. Type 1 lsa also known as router link advertisement rla, a type 1 lsa is sent by every router to other routers. Link state routing protocols advertise the state of their links. Introduction to ospf behaviour in multiaccess segments. Monitoring and maintaining ospf abr type 3 lsa filtering 114. Ip address configured with the ospf routerid command.
Configure ospf so there are two summaries for the loopback interfaces of router sam. Pdf a practical approach to ospf link state advertisement lsa. The lsa changes a few of the names and adds tw0 more, so we will pull the definitions from rfc 5340 ospf for ipv6 of the two new lsa types. Lsa types for ospfv3 thefollowinglistdescribeslsatypes,eachofwhichhasadifferentpurpose. Like type 1 router lsa, also is created by every router in.
Sep 19, 2018 open shortest path first ospf is a widely used and supported routing protocol. Command reference books contain descriptions of cisco ios commands that are supported in many. Neighbor table directly connected topology table complete info about network in same area but no info about other area, here we cant see backup route routing table best route if a router running ospf, first it will send hello packet to discover its neighbors and elect a designated router dr. An interface has state information associated with it, which is obtained from the underlying lower level protocols and the routing protocol itself. Routers in ospf advertise information about the topology with what is called an lsa. According to the author, an understanding of the ospf is crucial to successfully passing the cisco certified internetwork expert ccie exam. Jun 26, 2019 ospf lsa types in ospf linkstate information, in other words,routing information is exchanged between routers. Using multiple ospf areas reduces the frequency of spf dijkstra calculations, the. An area that has a single exit point and blocks type 5 lsa types and receives type 34 lsas with a default route 0.
Ospf is a classless protocol, and thus supports vlsms. Lsas build up the ospf link state database lsdb, and they are exchanged between ospf enabled nodes. From the output above we can see lsa type 1 router link state and lsa type 3. Open shortest path first ospf is a widely used and supported routing protocol. Chapter 3 implementing a scalable multiarea network ospf based solution 41 ospf message types 42 ospf lsa types 43 configuring ospf 44 using wildcard masks with ospf areas 44 configuring multiarea ospf 45 loopback interfaces 45 router id 46 drbdr elections 46 passive interfaces 46. In this tutorial we will learn more about other lsa types types 1 to 5 and 7. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. Hello packets are used to discover, build, and maintain ospf neighbor adjacencies.
An nssa autonomous system border router asbr generates the type 7 lsa, and an nssa area border router abr translates the type 7 lsa into a type 5 lsa. Understanding basic open shortest path first ospf routing principles not only applies to the ccnp certification but to all ciscobased certifications. Simply said, the cisco ospf command and configuration handbook is probably the best book on ccie level that explains everything you need to know about ospf. Ospf uses a lsdb link state database and fills this with lsas link state advertisement. Now remember the different packet types, there were five. No all lsas are flooded out all interfaces, but only. Generally external routes are advertised by type 5 lsa but they are not allowed inside any stub area. Ospf is a link state routing protocol that updates the routing table only when network changes occur, rather than at a predefined interval. Prevention ospf areas should be defined as stub to prevent accidental redistribution of ebgp into ospf type 3 lsa filtering should be used at abrs and only routers loopbacks should be allowed to leak into other areas loopback should be in private address space to make lsa type 3 filtering easier.
535 750 1479 234 1037 1410 1522 975 1196 1194 691 995 225 174 622 736 522 5 935 37 1491 976 624 734 583 1176 549 105 508 1229 1074 440 765 925 1184 1015 849