DIS and Pseudo Node
A Designated Intermediate System (DIS) is an intermediate router elected in Intermediate System to Intermediate System (IS-IS) communication. A pseudo node simulates a virtual node on a broadcast network and is not an actual router. In IS-IS, a pseudo node is identified by the system ID and 1-byte circuit ID (a non-zero value) of a DIS.
The DIS is used to create and update pseudo nodes and generate the link state protocol data units (LSPs) of pseudo nodes. The routers advertise a single link to a pseudo node and obtain routing information about the entire network through the pseudo node. The router does not need to exchange packets with all the other routers on the network. Using the DIS and pseudo nodes simplifies network topology and reduces the length of LSPs generated by routers. When the network changes, fewer LSPs are generated. As a result, the SPF consumes fewer resources.
SPF Algorithm
The SPF algorithm, also named Dijkstra's algorithm, is used in a link-state routing protocol to calculate the shortest paths to other nodes on a network. In the SPF algorithm, a local router takes itself as the root and generates a shortest path tree (SPT) based on the network topology to calculate the shortest path to every destination node on a network. In IS-IS, the SPF algorithm runs separately in Level-1 and Level-2 databases.
Establishment of IS-IS Neighbor Relationships
On different types of networks, the modes for establishing IS-IS neighbor relationships are different.
Establishment of a neighbor relationship on a broadcast link

RouterA, RouterB, RouterC, and RouterD are Level-2 routers. RouterA is newly added to the broadcast network. Figure 2 shows the process of establishing the neighbor relationship between RouterA and RouterB, the process of establishing the neighbor relationship between RouterA and RouterC or RouterD is similar to that between RouterA and RouterB, and is not mentioned here.
DIS Election
On a broadcast network, any two routers exchange information. If n (an integer) routers are available on the network, n x (n - 1)/2 adjacencies must be established. Each status change of a router is transmitted to other routers, which wastes bandwidth. IS-IS resolves this problem by defining the DIS. All routers send information to the DIS, which then broadcasts the network link status. Using the DIS and pseudo nodes simplifies network topology and reduces the length of LSPs generated by routers. When the network changes, fewer LSPs are generated. As a result, the SPF consumes fewer resources.
A DIS is elected after a neighbor relationship is established. Level-1 and Level-2 DISs are elected separately. You can configure different priorities for DISs at different levels. In DIS election, a Level-1 priority and a Level-2 priority are specified for every interface on every router. A router uses every interface to send IIHs and advertises its priorities in the IIHs to neighboring routers. The higher the priority is, the higher the probability is that the router is elected as the DIS. If there are multiple routers with the same highest priority on a broadcast network, the one with the highest MAC address is elected. The DISs at different levels can be the same router or different routers.
Establishment of a neighbor relationship on a P2P link
| Mode | Description | Advantages and Disadvantages | Reliability |
|---|---|---|---|
| 2-way mode | When a router receives an IIH, it unidirectionally sets up a neighbor relationship. | Disadvantages:
|
Low |
| 3-way mode | A neighbor relationship is established after IIHs are sent three times. | Advantages: A neighbor relationship is established only when both ends are Up. This mechanism ensures that packets are transmitted securely. | High |
IS-IS Strict Neighbor Check
In IS-IS, IPv4 and IPv6 share a standard topology. When both IPv4 and IPv6 are deployed in a standard topology, a problem can occur: if only IPv4 goes Up, IPv6 traffic is interrupted; if only IPv6 goes Up, IPv4 traffic is interrupted. Another problem occurs when a primary link recovers after a switchover occurs between primary and backup links. In this scenario, IPv4 traffic is switched to the primary link first because IPv4 goes Up faster than IPv6. IPv6 is also switched but discarded because IPv6 links are not Up. IS-IS strict neighbor check can resolve these problems.
LSDB Synchronization
IS-IS is a link-state protocol. An IS-IS router obtains first-hand information from other routers running link-state protocols. Every router generates information about itself, directly connected networks, and links between itself and directly connected networks. The router then sends the generated information to other routers through adjacent routers. Every router saves link state information but never modifies it. Finally, every router has the same network interworking information, and LSDB synchronization is complete. The process of implementing LSDB synchronization is named LSP flooding. In LSP flooding, a router sends an LSP to its neighbors and the neighbors send the received LSP to their respective neighbors except the router that first sends the LSP. The LSP is flooded among the routers at the same level. This implementation allows each router at the same level to have the same LSP information and keep a synchronized LSDB.
Neighbor is Up or Down.
A related interface is Up or Down.
Imported IP routes change.
Inter-area IP routes change.
Interface is assigned a new metric value.
Periodical updates occur.
Updating the LSDB on a broadcast link
The DIS updates the LSDB to synchronize the LSDB on a broadcast network. Figure 3 shows the process of synchronizing the LSDB on a broadcast network.
When the DIS receives an LSP, it searches the LSDB for the related records. If the DIS does not find the LSP in its LSDB, it adds the LSP to its LSDB and broadcasts the contents of the new LSDB.
If the sequence number of the received LSP is greater than the sequence number of the corresponding LSP, the DIS replaces the LSP with the received LSP in the LSDB, and broadcasts the contents of the new LSDB.
If the sequence number of the received LSP is smaller than the sequence number of the corresponding LSP, the DIS sends the LSP in the LSDB to the inbound interface.
If the sequence number of the received LSP is equal to the sequence number of the corresponding LSP, the DIS compares the Remaining Lifetime of the two LSPs. If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the contents of the new LSDB. If the Remaining Lifetime of corresponding LSP is 0, the DIS sends the LSP to the inbound interface.
If the sequence number of the received LSP and that of the corresponding LSP in the LSDB are the same and neither Remaining Lifetime is 0, the DIS compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the corresponding LSP in the LSDB, the DIS replaces the LSP in the LSDB with the received LSP, and advertises the contents of the new LSDB. If the received LSP has a smaller checksum than that of the corresponding LSP in the LSDB, the DIS sends the LSP in the LSDB to the inbound interface.
If the checksum of the received LSP and that of the corresponding LSP are the same, the LSP is not forwarded.
Updating the LSDB on a P2P link
If the sequence number of the received LSP is greater than the sequence number of the corresponding LSP in the LSDB, the router adds the LSP to its LSDB. The router then sends a PSNP packet to acknowledge the received LSP. At last, the router sends the LSP to all its neighbors except the neighbor that sends the LSP.
If the sequence number of the received LSP is smaller than the sequence number of the corresponding LSP, the router directly sends its LSP to the neighbor and waits for a PSNP from the neighbor as the acknowledgement.
If the sequence number of the received LSP is the same as the sequence number of the corresponding LSP in the LSDB, the router compares the Remaining Lifetime of the two LSPs. If Remaining Lifetime of the received LSP is 0, the router adds the LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If Remaining Lifetime of corresponding LSP is 0, the router directly sends its LSP to the neighbor and waits for a PSNP from the neighbor.
If the sequence number of the received LSP and the corresponding LSP in the LSDB are the same, and neither Remaining Lifetime is 0, router compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the corresponding LSP, the router adds the LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If the received LSP has a smaller checksum than that of the corresponding LSP, the router directly sends its LSP to the neighbor and waits for a PSNP from the neighbor. At last, the router sends the LSP to all its neighbors except the neighbor that sends the LSP.
If the checksum of the received LSP and that of the corresponding LSP are the same, the LSP is not forwarded.
Route Calculation
When LSDB synchronization is complete and network convergence is implemented, IS-IS performs SPF calculation by using LSDB information to obtain the SPT. IS-IS uses the SPT to create a forwarding database, namely, establish a routing table.
In IS-IS, link costs are used to calculate shortest paths. The default cost for an interface on a Huawei router is 10. The cost is configurable. The cost of a route is the sum of the cost of every outbound interface along the route. There may be multiple routes to a destination, among which the route with the smallest cost is the optimal route.
Level-1 routers can also calculate the shortest path to Level-2 routers to implement inter-area route selection. When a Level-1-2 router is connected to other areas, the router sets the value of the attachment (ATT) bit in its LSP to 1 to advertise this situation to neighboring routers. In the route calculation process, a Level-1 router selects the nearest Level-1-2 router as an intermediate router between the Level-1 and Level-2 areas.