Category Archives: Juniper

An Overview of Intermediate System to Intermediate System (IS-IS)

Intermediate System

Introducing IS-IS

Poor Intermediate System to Intermediate System (IS-IS). Open Shortest Path First (OSPF) gets all the love, and this competing Interior Gateway Protocol (IGP) is often little understood by engineers in networks today. This post will solve that for many of you, or perhaps act as a refresher if it has been a long time since you have thought about this impressive protocol.

It is not all bad news for IS-IS by the way. Part of a recent resurgence of interest has been caused by it being used as the basis for some other exciting technologies. The best example of this is Transparent Interconnection of Lots of Links (TRILL) or as Cisco calls their version, FabricPath. This layer 2 technology serves as a replacement for Spanning Tree Protocol (STP) and features the use of IS-IS as its intelligence for things like path selection and convergence. Users of TRILL are shielded from IS-IS configuration, but certainly an understanding of the protocol aids in troubleshooting and a deeper understanding.

IS-IS versus OSPF

There was a battle royal for market share when it came to the wonderful world of Interior Gateway Protocols. There were plenty that thought OSPF should rule, while others thought IS-IS. As you know, OSPF really won the battle, but it is interesting to note that many large service providers still use IS-IS today in their internal networks. Those that still love it point to how easy it can be to design and tune large networks with it.

As this post will examine in a moment, there are probably many more similarities between OSPF and IS-IS than there are differences. In fact, both use the same Dijkstra’s Shortest Path First algorithm in order to calculate best paths!

Perhaps the most shocking detail of IS-IS is the fact that it was not even developed for the routing of Internet Protocol (IP) traffic! The International Organization for Standardization (ISO) developed IS-IS for the routing of their own Connectionless Network Protocol (CLNP). In fact, at the time, many thought that IP and OSPF would be short interim solutions with CLNP and IS-IS taking over long term. Of course, IP won out, and IS-IS was quickly and easily tweaked in order to function perfectly with IP.

Integrated IS-IS

This new and improved version of IS-IS that we use today is officially referred to as Integrated IS-IS. Some use the less formal dual IS-IS when describing it. No matter what you call it – it does rock. You create your autonomous system of intermediate systems (routers) to connect end systems (workstations) that are sending and receiving packets. You typically divide your AS into smaller groups called areas. The area structure is more flexible than OSPF. You have Level 1 routers that route within an area and Level 2 systems that route between areas. If you need a device to fulfil both functions (think and ABR in OSPF), then you have what is called a Level 1/2 router.

IS-IS and OSPF

So you think the two competing IGPs might be similar? They are – just check this out:

  • Both maintain link state databases in order to function
  • Both use the Dijkstra’s Shortest Path First algorithm
  • Both use Hello packets to establish and maintain adjacencies
  • Both use a two level hierarchy
  • Both provide for address summarization between areas
  • Both use the concept of a designated router
  • Both are typically implemented with authentication in order to add security

Are you fired up to learn more about IS-IS? I hope so. I am releasing a new course this month at CBT Nuggets that will teach you even more!

Study with my passion my friends!

OSPF LSA Types and Areas

B68pL6pIMAEwi0r

An Overview of OSPF LSA Types and Areas

In the previous post on OSPF found here, we discussed the various OSPF LSA types. Here is a quick recap of what those were:

  • Router (Type 1)
  • Network (Type 2)
  • Summary (Type 3)
  • ASBR Summary (Type 4)
  • External (Type 5)
  • NSSA External (Type 7)

If you are even slightly fuzzy on what these different LSAs are used for in OSPF, please quickly go over that previous post.

The purpose of this post if for us to discuss how these LSAs will be impacted by a multi area area design, especially one that might include special areas. What is wonderful about this exercise is the fact that it allows us to review what these special areas are for, and gives us a richer understand of exactly how they function. Of course, this is from the automatic filtering of certain LSAs from certain areas.

OSPF LSAs and Standard Areas

Think about an area 0.0.0.1 attached to the backbone area of 0.0.0.0. There are Type 1 LSAs flooding in this area 0.0.0.1. If we have broadcast segments, we also have Type 2 LSAs circulating in the area. The Area Border Router is sending LSA Type 3s into the backbone to summarize the prefix information in area 0.0.0.1. It is also taking in this information from the backbone for other areas that might exist. If there is an ASBR out there in the domain somewhere, our area 0.0.0.1 will receive Type 4 and Type 5 LSAs in order to know the location of this ASBR and the prefixes it is sharing with us. Whew! That is a lot going on. This is precisely why we have the special area types!

OSPF LSAs and the Stub Area

What is it that we want to accomplish with a stub area? We do not want to hear about those prefixes that are external to our OSPF domain. Remember what those were? Sure, they are the Type 5 LSAs. In fact, we do not even want to hear about those Type 4 LSAs that are used to call out the ASBR in the network. So the stub area is chock full of Type 1, Type 2, and Type 3 LSAs. In fact, how would this area get to one of those external prefixes it is needed to? We typically use a very special Type 3 LSA for this. This LSA represents the default route (0.0.0.0/0). It is this handy little route that allow devices in this area to get to all of those externals, in fact, to get to any prefix not specifically defined in the Routing Information Base.

OSPF LSAs and the Totally Stubby Area

Ok, with this area we want very little inside it right? Sure. So it makes sense that we are blocking those Type 4 and Type 5 once again, but now we are even blocking the Type 3 LSAs that are describing prefix information from other areas WITHIN our OSPF domain. There needs to be one big exception, however. We need a Type 3 LSA for a default route so we can actually get to other prefixes in our out of our domain.

OSPF LSAs and the Not So Stubby Area and the Totally Not So Stubby Area

Remember, the Not So Stubby Area needs to have those Type 7 LSAs. These Type 7 permit the proliferation of those external prefixes that are entering your OSPF domain thanks to this NSSA area you created. Obviously this area also has the Type 1, Type 2, and Type 3 inside it. Type 4 and Type 5 will be blocked from entering this area as you would expect. In both Juniper and Cisco environments, you can also create a Totally Not So Stubby Area by restricting Type 3s from this area.

I hope you enjoyed these last two posts on OSPF LSAs.

You might also be interested in this very well rated text:

Whatever you do, study with passion my friend!