LABS · PROTOCOLS · ONE STEP FURTHER

IS-IS: how a provider's routers share the topology

The link-state protocol of large operators, PDU by PDU: a Hello with no IP header padded up to the MTU, the 3-way handshake, synchronization with CSNPs and PSNPs, LSPs with their TLVs and the refresh before they expire.

Level: advanced · 20 minutes

Interactive simulation

The animation needs JavaScript. The full lesson is written out below.

Download the capture and open it in Wireshark to keep exploring.

What IS-IS is

IS-IS (Intermediate System to Intermediate System) is a link-state protocol, like OSPF: each router describes its links in an LSP, all LSPs are flooded through the area and each router computes the shortest-path tree with Dijkstra. It was born in the OSI world (ISO 10589) and RFC 1195 extended it to carry IP routes: that is «integrated IS-IS».

It runs directly over layer 2, without IP, and everything it carries goes in TLVs (type, length, value). That makes it easy to extend: IPv6, Traffic Engineering or Segment Routing are just new TLVs. Thanks to that stability and scale, it is the interior protocol of most large providers and many data centers.

The NET and the levels

Part of the NETOn PE1What it is
AFI49Private addresses (like 10.0.0.0/8 in IPv4)
Area0001The router's area
System ID0000.0000.0001Identifies the router: unique across the whole domain
NSEL00Always 00 on a router
LevelWhat it knowsRough OSPF equivalent
Level 1 (L1)Its area; to get out, it goes to the nearest L1/L2Non-backbone area (stub type)
Level 2 (L2)The backbone between areasArea 0
L1/L2Both: joins its area to level 2ABR

Unlike OSPF, in IS-IS the boundary between areas sits on the links, not inside the routers: each router belongs to a single area. Many providers use level 2 only, as in this lab.

How it works: from the first Hello to the installed route

Six steps: the Hello in Down, the 3-way handshake, the CSNP summary, the LSPs, the PSNP acknowledgments and SPF, and the refresh at 900 seconds.

  1. Point-to-point Hello: Down

    PE1 sends a Hello (IIH) to 09:00:2b:00:00:05 with its System ID, area 49.0001, IPv4 as protocol, the link IP and the 3-way handshake TLV 240 in Down: it has seen no neighbor. The Hello is padded with padding TLVs up to 1497 bytes, the link MTU: if P1 could not receive frames that size, they would never form the adjacency. Note: there is no IP header; the frame is 802.3 with LLC 0xFE.

  2. 3-way handshake: Initializing and Up

    P1 receives the Hello and replies in Initializing, with PE1 as neighbor in TLV 240: «I see you». PE1 sees that P1 lists it, moves to Up and says so in its next Hello, with P1 as neighbor. P1 receives it and also moves to Up. This 3-way handshake (RFC 5303) prevents one-way adjacencies. Areas don't have to match at level 2, but the circuit type does.

  3. CSNP: the database summary

    On point to point, when the adjacency comes up each router sends a CSNP with the full list of its database: each LSP with its version (sequence number), checksum and remaining lifetime. For now each one only knows its own LSP, and that version does not include the new neighbor yet. By comparing it with its own database, each one knows what the other is missing.

  4. LSP: each router describes itself

    PE1 regenerates its LSP with a new sequence (4 → 5) to add P1 as neighbor, and floods it. The LSP carries TLVs: area, protocol, hostname (PE1), the Loopback0 IP, neighbor P1 with metric 10 (TLV 22) and its prefixes: the 10.0.12.0/30 link and its Loopback 10.255.0.1/32 (TLV 135, wide metrics). P1 does the same. The ISO 8473 checksum protects the LSP from the LSP-ID to the end.

  5. PSNP and SPF: routes installed

    On a point-to-point link each LSP is acknowledged with a PSNP that names it (on a LAN, instead, the DIS's periodic CSNP takes care of it). With both databases equal, each router runs SPF: PE1 reaches P1's Loopback at cost 20 (10 for the link + 10 for the Loopback) and installs it as «i L2» with administrative distance 115.

  6. LSP refresh at 900 s

    An LSP lives 1200 s (max-lsp-lifetime). So that it never expires, its owner regenerates it every 900 s (lsp-refresh-interval) with the next sequence number (5 → 6) and the lifetime back at the maximum, even if nothing has changed. P1 acknowledges it with a PSNP. If an LSP reached 0 without a refresh, it would be purged from the whole network.

The IS-IS PDUs

PDUPurposeDestination MAC on Ethernet
LAN IIH (Hello)Neighbors and DIS election01:80:c2:00:00:14 (L1) · 01:80:c2:00:00:15 (L2)
Point-to-point IIHNeighbor and 3-way handshake (TLV 240)09:00:2b:00:00:05
LSPDescribes the router: neighbors, prefixes, hostnameThe one for its level
CSNPComplete database summaryThe one for its level
PSNPAcknowledges or requests specific LSPsThe one for its level

On a LAN, IS-IS elects a DIS (highest priority or highest MAC) that creates a pseudonode and sends a CSNP every 10 s; LSPs are not acknowledged one by one. On point to point there is no DIS: each LSP is acknowledged with a PSNP. That is why cores configure isis network point-to-point on Ethernet links between two routers.

IS-IS vs OSPF

IS-ISOSPF
TransportDirectly over layer 2 (LLC)IP, protocol 89
AreasBoundary on the links; L1, L2 and L1/L2Boundary on the routers (ABR); area 0 mandatory
Elected on a LANDIS, no backup, preemptiveDR and BDR, not preemptive
Default metric on Cisco10 on every interfaceBased on bandwidth
ExtensionsNew TLVsNew LSA types (OSPFv3 for IPv6)
Administrative distance115110

The Cisco IOS XE commands

CommandWhat it does or shows
router isis · net 49.0001.0000.0000.0001.00Enables IS-IS and gives it its area and System ID.
is-type level-2-only · metric-style wideLevel 2 only and 24/32-bit metrics (TLV 22 and 135).
ip router isis · isis network point-to-pointEnables IS-IS on the interface and treats it as point to point.
show isis neighborsThe neighbors, their level, state and holding time.
show isis database [detail]The LSPs: sequence, checksum, remaining lifetime and contents.
show ip route isisIS-IS routes: i L1 or i L2, with distance 115.
no hello paddingStops padding the Hellos up to the MTU.

IS-IS is not in the CCNA v2.0 blueprint: it is one step further toward CCNP Service Provider (SPCOR 350-501 exam), where it is the core's interior protocol, together with MPLS and Segment Routing.

Frequently asked questions

Why is the Hello 1514 bytes?

Because Cisco pads it up to the link MTU. If the neighbor cannot receive a frame that size, the adjacency does not come up: an MTU mismatch is caught before large LSPs fail.

Does IS-IS work without IP?

Yes: its PDUs run directly over layer 2. IP addresses only travel as information inside the TLVs.

What is the difference between CSNP and PSNP?

The CSNP lists the whole database; the PSNP names only some LSPs, to acknowledge or request them.

What is the sequence number for?

To know which version of an LSP is the newest: the highest sequence always wins.

What happens if an LSP reaches 0?

It expires: it is purged from the whole network and its routes disappear. That is why the owner refreshes it every 900 s.

What you take away

  • IS-IS is link state and runs directly over layer 2, without IP.
  • The NET has the area, the System ID and the 00 selector.
  • On point to point, the adjacency comes up with a 3-way handshake in TLV 240.
  • LSPs describe each router in TLVs; the highest sequence wins.
  • CSNP summarizes the database; PSNP acknowledges or requests LSPs.
  • LSPs live 1200 s and are refreshed every 900 s.

NEXT STEP

From the provider core to the Career Plan

IS-IS, BGP and MPLS are the foundation of provider networks. You will see them in detail in The House of Routing's routing master classes. We'll let you know when there is news.

Upcoming protocol lessons

Sources

Lesson prepared with AI assistance and checked against the sources cited. The bytes of every packet are generated according to the standard and verified with an independent tool.