IS-IS · Topic 3 of 4

IS-IS DIS and Metrics

Learn IS-IS DIS election with priority 64, the pseudonode, preemption, narrow and wide metrics, the default metric of 10 and wide-metrics-only in Junos.

  • 6 min
In a nutshell
  • The DIS is elected per level on broadcast links: highest priority (default 64), then highest MAC address.
  • The DIS is preemptive, has no backup, and every router is adjacent to every other.
  • The DIS creates the pseudonode LSP and sends CSNPs; its hello interval is 3 seconds.

What it is

On a broadcast segment such as Ethernet, IS-IS elects a designated intermediate system (DIS). The DIS creates a pseudonode, a virtual router that stands for the LAN, and it sends CSNPs to keep the databases on the LAN in sync. There is no backup DIS.

An IS-IS metric is the cost of an interface. SPF adds the metrics along each path and picks the lowest total. In Junos every IS-IS interface has a metric of 10 by default, except lo0, which has 0.

Routers on LANpriority then MACDIS electedoriginatesPseudonode LSPR2.02SPFLAN as one node

How it works

DIS election

RuleDetail
Highest priority winsJunos default 64; range 0 to 127
TieHighest MAC address (SNPA) wins
PreemptionYes; a router with a better priority takes over at once
Backup DISNone; a new election runs if the DIS fails
Per levelA separate DIS for Level 1 and Level 2 on the same LAN
user@router# set protocols isis interface ge-0/0/1.0 level 2 priority 100

Comparison with the OSPF DR

IS-IS DISOSPF DR
Default priority64128
Tie breakerHighest MAC addressHighest router ID
PreemptiveYesNo
BackupNoneBDR
Adjacencies on the LANEvery router with every routerFull only with DR and BDR
Priority 0Can still be electedNever elected

Because every router is adjacent to every other router, losing the DIS has little impact. The new DIS just creates a new pseudonode LSP.

The pseudonode

The DIS originates the pseudonode LSP, which lists every router on the LAN with metric 0. Each real router lists the pseudonode as its neighbor, with the router's own interface metric. SPF then treats the LAN as a star instead of a full mesh.

R1metric 10PseudonodeR2.02metric 0R3

The DIS also sends hellos three times as often as other routers, every 3 seconds in Junos, so a failed DIS is detected quickly.

Avoiding the DIS on point-to-point Ethernet

A link with only two routers still elects a DIS if it is treated as a LAN. Setting both ends to point-to-point removes the pseudonode and the election.

user@router# set protocols isis interface ge-0/0/0.0 point-to-point

Narrow and wide metrics

Narrow metricsWide metrics
TLVs2 and 128 (and 130)22 and 135
Maximum interface metric6316,777,215
Maximum path metric1023Far larger
Traffic engineeringNot supportedSupported through sub-TLVs

By default Junos sends both narrow and wide metric TLVs, so it works with routers that understand either. To send only wide metrics:

user@router# set protocols isis level 2 wide-metrics-only

All routers in a level should agree. If some send only wide TLVs and others read only narrow TLVs, they calculate different paths.

Setting metrics

The metric is set per interface and per level:

user@router# set protocols isis interface ge-0/0/0.0 level 2 metric 50
user@router# set protocols isis interface ge-0/0/1.0 level 1 metric 20

In hierarchy form:

protocols {
    isis {
        interface ge-0/0/0.0 {
            level 2 metric 50;
        }
    }
}

You can also make Junos calculate metrics from bandwidth with a reference bandwidth, as in OSPF:

user@router# set protocols isis reference-bandwidth 100g

Without reference-bandwidth, every interface gets the flat default of 10, whatever its speed. A 1 Gbps link and a 100 Gbps link then look equally good.

The overload bit

Setting the overload bit tells other routers not to use this router for transit traffic. Its directly connected prefixes stay reachable. It is useful during maintenance or while BGP converges after a reboot.

user@router# set protocols isis overload
user@router# set protocols isis overload timeout 300

With timeout, the bit is set at startup and cleared automatically after the given number of seconds.

Verifying

user@router> show isis interface
IS-IS interface database:
Interface             L CirID Level 1 DR        Level 2 DR        L1/L2 Metric
ge-0/0/0.0            3   0x1 Point to Point    Point to Point         10/50
ge-0/0/1.0            3   0x2 R1.02             R2.02                  20/10
lo0.0                 3   0x1 Passive           Passive                 0/0

The Level 1 DR and Level 2 DR columns show the DIS for each level as a pseudonode ID, and the last column shows the Level 1 and Level 2 metrics.

CommandShows
show isis interfaceDIS per level and metric per level
show isis interface detailPriority, hello timers and adjacency count
show isis database extensiveMetric values in TLV 22 and TLV 135
show isis routeIS-IS routes with total metric
Exam tip

In show isis interface, R1.02 under Level 1 DR means R1 is the Level 1 DIS on that LAN, and .02 is the pseudonode number it chose.

Common mistakes

Assuming the DIS is not preemptive, like the OSPF DR. A router with higher priority takes over the DIS role as soon as it comes up.

Assuming priority 0 prevents DIS election. In IS-IS a router with priority 0 can still become DIS.

Leaving every link at metric 10. With no reference bandwidth or manual metrics, IS-IS counts hops, and slow links carry traffic as readily as fast ones.

Watch out

Narrow metrics cap an interface at 63. If traffic engineering or larger costs are needed, use wide metrics, and make sure every router in the level supports them.

What to remember for the exam

  • The DIS is elected per level on broadcast links: highest priority (default 64), then highest MAC address.
  • The DIS is preemptive, has no backup, and every router is adjacent to every other.
  • The DIS creates the pseudonode LSP and sends CSNPs; its hello interval is 3 seconds.
  • point-to-point removes the DIS on two-router Ethernet links.
  • Default metric 10 on every interface, 0 on lo0; set per level with level <n> metric.
  • Junos sends narrow and wide TLVs by default; wide-metrics-only sends only wide.
  • Narrow: interface 63, path 1023; wide: interface up to 16,777,215.
  • The overload bit stops transit traffic through the router.

Check yourself

  • A new router with priority 100 joins a LAN where the DIS has priority 64. What happens?

    It becomes the new DIS at once, because DIS election in IS-IS is preemptive.

  • What metric does Junos give an IS-IS interface by default?

    10 on every interface, except lo0, which has 0.

  • Which statement makes Junos stop sending narrow metric TLVs at Level 2?

    set protocols isis level 2 wide-metrics-only.

Topic 3 of 4 in IS-IS

Test yourself on IS-IS

The full Juniper JNCIS-SP JN0-364 question bank has 860 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.