summaryrefslogtreecommitdiff
path: root/docs/configuration/protocols/isis.md
blob: 0957bea6f96e43d30ffdb7c8aa64fb1cade186f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
---
myst:
  html_meta:
    description: |
      IS-IS is a link-state interior gateway protocol that uses Dijkstra's
      Shortest Path First algorithm to build a network topology database
      and compute the shortest path to each destination.
    keywords: isis, link-state, igp, dijkstra, spf, lfa, ti-lfa, srv6
---

(isis)=

# IS-IS

Intermediate System-to-Intermediate System (IS-IS) is a link-state
{abbr}`IGP (Interior Gateway Protocol)` described in ISO/IEC 10589,
[RFC 1195](https://datatracker.ietf.org/doc/html/rfc1195), and
[RFC 5308](https://datatracker.ietf.org/doc/html/rfc5308). It uses
Dijkstra's {abbr}`SPF (Shortest Path First)` algorithm to build a network
topology database ({abbr}`LSDB (Link State Database)`) and compute the
shortest path to each destination.

In an IS-IS network, routers are called Intermediate Systems (ISs). They
exchange topology information with directly connected neighbors via the
IS-IS protocol, whose PDUs are carried directly in Layer 2 frames rather
than over IP. IS-IS routers are identified by a
{abbr}`NET (Network Entity Title)`, which ranges from 8 to 20 bytes
(typically 10 bytes).

## IS-IS vs OSPF

IS-IS builds an LSDB from link-state information flooded by other routers
and computes routing paths using Dijkstra's algorithm, just like OSPF.
Because both protocols share the same link-state architecture, they make
nearly identical path-selection decisions. Given the similarities between
IS-IS and OSPF, comparing their routing behaviors is an effective way to
understand how a network will respond with either IGP.

## Configuration

### Mandatory settings

Each IS-IS router must be configured with a unique NET, the
{abbr}`CLNS (Connectionless Network Service)` equivalent of a Router ID.
The 6-byte system identifier portion of the NET must be unique across the
IS-IS routing domain.

```{cfgcmd} set protocols isis net \<network-entity-title\>

**Configure the Network Entity Title (NET) for the router.**

A typical NET looks like `49.0001.1921.6800.1002.00`.

The NET consists of the following parts:

- {abbr}`AFI (Authority and Format Identifier)` (`49`): IS-IS
  conventionally uses AFI value 49 for private addressing.
- Area identifier (`0001`): The area number within the IS-IS routing
  domain (in this example, Area 1).
- System identifier (`1921.6800.1002`): Uniquely identifies the router
  within the IS-IS routing domain. We recommend deriving this value from
  the router IP address or MAC address. To construct the system identifier
  from an IPv4 address (for example, `192.168.1.2`):

  - Pad each octet with leading zeros: `192.168.1.2` → `192.168.001.002`.
  - Regroup the digits into three 4-digit blocks: `192.168.001.002` →
    `1921.6800.1002`.

- NET selector (`00`): Must always be `00` to indicate the local system.
```

Example:

```none
set protocols isis net 49.0001.1921.6800.1002.00
```

```{cfgcmd} set protocols isis interface \<interface\>

**Enable IS-IS on the specified interface.**

This enables the router to form adjacencies with directly connected peers.
```

Example:

```none
set protocols isis interface eth0
```

### IS-IS global configuration

```{cfgcmd} set protocols isis dynamic-hostname

**Enable Dynamic Hostname {abbr}`TLV (Type-Length-Value)` support on the
router ([RFC 5301](https://datatracker.ietf.org/doc/html/rfc5301)).**

This enables the router to include its human-readable system name
alongside its System ID in IS-IS advertisements for easier peer
identification.
```

Example:

```none
set protocols isis dynamic-hostname
```

```{cfgcmd} set protocols isis level \<level-1 | level-1-2 | level-2\>

**Configure the IS-IS level at which the router operates:**

- `level-1`: Participates exclusively in Level-1 (intra-area) routing.
- `level-1-2`: Participates in both Level-1 (intra-area) and Level-2
  (inter-area) routing.
- `level-2`: Participates exclusively in Level-2 (inter-area) routing.
```

Example:

```none
set protocols isis level level-1
```

```{cfgcmd} set protocols isis lsp-mtu \<128-4352\>

**Configure the {abbr}`MTU (Maximum Transmission Unit)` size, in bytes,
for originating or receiving IS-IS {abbr}`LSPs (Link State PDUs)`.**
```

Example:

```none
set protocols isis lsp-mtu 1400
```

```{cfgcmd} set protocols isis metric-style \<narrow | transition | wide\>

**Configure the TLV format (metric style) the router uses when originating
or processing IS-IS LSPs:**

- `narrow`: Originates and processes only the original ISO/IEC 10589 TLVs.
- `transition`: Originates and processes both narrow and wide TLV formats.
- `wide`: Originates and processes only extended TLVs.
```

Example:

```none
set protocols isis metric-style wide
```

```{cfgcmd} set protocols isis purge-originator

**Enable {abbr}`POI (Purge Originator Identification)`
([RFC 6232](https://datatracker.ietf.org/doc/html/rfc6232)) for IS-IS
purges triggered by the router.**

When enabled, the router includes the POI TLV with its System ID in each
purge it triggers. This identifies which
{abbr}`IS (Intermediate System)` triggered the purge.
```

Example:

```none
set protocols isis purge-originator
```

```{cfgcmd} set protocols isis set-attached-bit

**Configure the L1/L2 IS-IS router to set the ATT (Attached) bit in the
Level-1 LSPs it originates
([RFC 3787](https://datatracker.ietf.org/doc/html/rfc3787)).**

This signals to pure Level-1 routers that this L1/L2 router has Level-2
reachability.
```

Example:

```none
set protocols isis set-attached-bit
```

```{cfgcmd} set protocols isis set-overload-bit

**Configure the router to set the OL (LSP Database Overload) bit in LSPs
it originates ([RFC 3787](https://datatracker.ietf.org/doc/html/rfc3787)).**

When configured, other IS-IS routers stop sending transit traffic through
this router but can still reach its directly connected networks.
```

Example:

```none
set protocols isis set-overload-bit
```

```{cfgcmd} set protocols isis advertise-high-metrics

**Configure the router to advertise a high metric value on all of its IS-IS
interfaces, regardless of the metric configured on each interface.**

The advertised value depends on the metric style: 63 for `narrow`, 16777215
for `wide`, and 62 for `transition`.
```

Example:

```none
set protocols isis advertise-high-metrics
```

```{cfgcmd} set protocols isis advertise-passive-only

**Configure the router to advertise in its LSPs only the IP prefixes of
passive interfaces.**

Prefixes of non-passive interfaces are not advertised, but those interfaces
are still used to form adjacencies and participate in SPF.
```

Example:

```none
set protocols isis advertise-passive-only
```

```{cfgcmd} set protocols isis log-adjacency-changes

**Configure the router to log IS-IS adjacency state changes to syslog.**
```

Example:

```none
set protocols isis log-adjacency-changes
```

```{cfgcmd} set protocols isis topology \<ipv4-multicast | ipv4-mgmt | ipv6-unicast | ipv6-multicast | ipv6-mgmt | ipv6-dstsrc\>

**Enable an additional IS-IS Multi-Topology for the router:**

- `ipv4-multicast`: IPv4 multicast topology (MT 3).
- `ipv4-mgmt`: IPv4 management topology (MT 1).
- `ipv6-unicast`: IPv6 unicast topology (MT 2).
- `ipv6-multicast`: IPv6 multicast topology (MT 4).
- `ipv6-mgmt`: IPv6 management topology (MT 5).
- `ipv6-dstsrc`: IPv6 destination/source routing topology.

The default IPv4-unicast topology (MT 0) is always present and does not
need to be explicitly configured.
```

Example:

```none
set protocols isis topology ipv6-unicast
```

#### Authentication

IS-IS supports two protocol-wide passwords: 

- **area-password**: applied to Level-1 LSPs/SNPs (within the area).
- **domain-password**: applied to Level-2 LSPs/SNPs (across the Level-2
  backbone).

These are distinct from the per-interface `password` command (see
[Interface configuration](#interface-configuration)). That command
authenticates only the Hello (IIH) PDUs exchanged with the neighbor on the
interface where it is configured.

```{cfgcmd} set protocols isis area-password plaintext-password \<text\>

**Configure a plaintext password used to authenticate Level-1 LSPs and
SNPs originated and received by this router.**

All Level-1 routers in the area must be configured with the same
password.
```

Example:

```none
set protocols isis area-password plaintext-password mysharedsecret
```

```{cfgcmd} set protocols isis area-password md5 \<text\>

**Configure an HMAC-MD5 key used to authenticate Level-1 LSPs and SNPs
originated and received by this router.**

All Level-1 routers in the area must be configured with the same key.
```

```{note}
For each of `area-password` and `domain-password`, configure either
`plaintext-password` or `md5`, but not both.
```

Example:

```none
set protocols isis area-password md5 mysharedsecret
```

```{cfgcmd} set protocols isis domain-password plaintext-password \<text\>

**Configure a plaintext password used to authenticate Level-2 LSPs and
SNPs originated and received by this router.**

All Level-2 routers in the routing domain must be configured with the
same password.
```

Example:

```none
set protocols isis domain-password plaintext-password mysharedsecret
```

```{cfgcmd} set protocols isis domain-password md5 \<text\>

**Configure an HMAC-MD5 key used to authenticate Level-2 LSPs and SNPs
originated and received by this router.**

All Level-2 routers in the routing domain must be configured with the
same key.
```

Example:

```none
set protocols isis domain-password md5 mysharedsecret
```

#### Default route advertisement

##### Level-1 IPv4

```{cfgcmd} set protocols isis default-information originate ipv4 level-1

**Configure the router to originate the IPv4 default route (`0.0.0.0/0`)
and advertise it in locally generated LSPs throughout the Level-1 area.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-1
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-1 always

**Configure the router to unconditionally originate the IPv4 default route
and advertise it throughout the Level-1 area, even if the router lacks a
default route in its {abbr}`RIB (Routing Information Base)`.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-1 always
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-1 metric \<0-16777215\>

**Configure the IS-IS metric for the IPv4 default route advertised at
Level 1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-1 metric 100
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-1 route-map \<name\>

**Apply a route-map to the IPv4 default route advertised at Level 1.**

The route-map can permit or deny the advertisement and, if permitted,
modify the route's metric.
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-1 route-map ISIS-DEFAULT
```

##### Level-1 IPv6

```{cfgcmd} set protocols isis default-information originate ipv6 level-1

**Configure the router to originate the IPv6 default route (`::/0`) and
advertise it in locally generated LSPs throughout the Level-1 area.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-1
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-1 always

**Configure the router to unconditionally originate the IPv6 default route
and advertise it throughout the Level-1 area, even if the router lacks a
default route in its RIB.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-1 always
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-1 metric \<0-16777215\>

**Configure the IS-IS metric for the IPv6 default route advertised at
Level 1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-1 metric 100
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-1 route-map \<name\>

**Apply a route-map to the IPv6 default route advertised at Level 1.**

The route-map can permit or deny the advertisement and, if permitted,
modify the route's metric.
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-1 route-map ISIS-DEFAULT
```

##### Level-2 IPv4

```{cfgcmd} set protocols isis default-information originate ipv4 level-2

**Configure the router to originate the IPv4 default route (`0.0.0.0/0`)
and advertise it in locally generated LSPs throughout the Level-2
backbone.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-2
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-2 always

**Configure the router to unconditionally originate the IPv4 default route
and advertise it throughout the Level-2 backbone, even if the router lacks
a default route in its RIB.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-2 always
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-2 metric \<0-16777215\>

**Configure the IS-IS metric for the IPv4 default route advertised into
the Level-2 backbone.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-2 metric 100
```

```{cfgcmd} set protocols isis default-information originate ipv4 level-2 route-map \<name\>

**Apply a route-map to the IPv4 default route advertised into the Level-2
backbone.**

The route-map can permit or deny the advertisement and, if permitted,
modify the route's metric.
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv4 level-2 route-map ISIS-DEFAULT
```

##### Level-2 IPv6

```{cfgcmd} set protocols isis default-information originate ipv6 level-2

**Configure the router to originate the IPv6 default route (`::/0`) and
advertise it in locally generated LSPs throughout the Level-2 backbone.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-2
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-2 always

**Configure the router to unconditionally originate the IPv6 default route
and advertise it throughout the Level-2 backbone, even if the router lacks
a default route in its RIB.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-2 always
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-2 metric \<0-16777215\>

**Configure the IS-IS metric for the IPv6 default route advertised into
the Level-2 backbone.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-2 metric 100
```

```{cfgcmd} set protocols isis default-information originate ipv6 level-2 route-map \<name\>

**Apply a route-map to the IPv6 default route advertised into the Level-2
backbone.**

The route-map can permit or deny the advertisement and, if permitted,
modify the route's metric.
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis default-information originate ipv6 level-2 route-map ISIS-DEFAULT
```

#### LDP synchronization

```{cfgcmd} set protocols isis ldp-sync

**Enable LDP IGP synchronization
([RFC 5443](https://datatracker.ietf.org/doc/html/rfc5443)) for the IS-IS
routing process.**

When enabled, all operational IS-IS interfaces automatically participate
in synchronization, except for loopback interfaces.
```

```{note}
LDP must be configured and functional on the router for synchronization
to operate.
```

Example:

```none
set protocols isis ldp-sync
```

```{cfgcmd} set protocols isis ldp-sync holddown \<0-10000\>

**Configure the time, in seconds, that IS-IS keeps any of its interfaces
at max-metric while waiting for LDP-IGP synchronization to complete.**

When this time expires on an interface, IS-IS restores the configured
interface metric even if LDP-IGP synchronization has not completed.

The default value is 0, which causes IS-IS to wait indefinitely.
```

Example:

```none
set protocols isis ldp-sync holddown 60
```

### Interface configuration

```{cfgcmd} set protocols isis interface \<interface\> circuit-type \<level-1 | level-1-2 | level-2-only\>

**Configure the IS-IS level at which the router can form adjacencies on
the specified interface:**

- `level-1`: Permits only Level-1 (intra-area) adjacencies.
- `level-2-only`: Permits only Level-2 (inter-area) adjacencies.
- `level-1-2`: Permits both Level-1 (intra-area) and Level-2 (inter-area)
  adjacencies.
```

```{note}
The selected level must be supported by the router's IS-IS process.
```

Example:

```none
set protocols isis interface eth0 circuit-type level-1
```

```{cfgcmd} set protocols isis interface \<interface\> hello-interval \<1-600\>

**Configure the interval, in seconds, between successive IS-IS Hello PDUs
(IIH) sent on the specified interface.**
```

Example:

```none
set protocols isis interface eth1 hello-interval 5
```

```{cfgcmd} set protocols isis interface \<interface\> hello-multiplier \<2-100\>

**Configure the multiplier applied to the Hello interval to derive the
Holding Time advertised in IS-IS Hello PDUs (IIH) sent on the specified
interface.**

The receiving neighbor uses the advertised Holding Time as its adjacency
timeout. If no IIH arrives within that period, the adjacency is declared
down.
```

Example:

```none
set protocols isis interface eth1 hello-multiplier 5
```

```{cfgcmd} set protocols isis interface \<interface\> hello-padding

**Enable padding of IS-IS Hello PDUs (IIH) sent on the specified interface
to that interface's full MTU
([RFC 3719](https://datatracker.ietf.org/doc/html/rfc3719)).**

This ensures that neighbors with asymmetric MTUs cannot establish an
adjacency. Without padding, asymmetric MTUs bypass detection during
adjacency setup.
```

Example:

```none
set protocols isis interface eth0 hello-padding
```

```{cfgcmd} set protocols isis interface \<interface\> metric \<0-16777215\>

**Configure the IS-IS metric (cost) advertised for the specified
interface.**

The SPF algorithm uses this value to calculate the optimal routing path
to destinations.

The valid range depends on the configured metric style: `narrow` limits
the metric to 0-63, while `wide` extends it to 0-16777215.

The default value is 10.
```

Example:

```none
set protocols isis interface eth1 metric 100
```

```{cfgcmd} set protocols isis interface \<interface\> network point-to-point

**Configure the IS-IS network type for the specified interface as
point-to-point.**

The default network type is broadcast.
```

```{note}
The neighboring interface must be configured with the same network type;
otherwise, the adjacency does not form.
```

Example:

```none
set protocols isis interface eth1 network point-to-point
```

```{cfgcmd} set protocols isis interface \<interface\> passive

**Enable passive mode for the specified interface.**

On a passive interface, the router neither sends nor processes IS-IS Hello
PDUs (IIH), so no adjacency forms. The interface's IP prefix is still
advertised in this router's LSP.
```

Example:

```none
set protocols isis interface lo passive
```

```{cfgcmd} set protocols isis interface \<interface\> password plaintext-password \<text\>

**Configure the plaintext authentication password for the specified
interface.**

This password is included in IS-IS Hello (IIH) PDUs sent on the interface
and validated on IIH PDUs received from neighbors.

A mismatch prevents adjacency formation and tears down an established
adjacency.
```

Example:

```none
set protocols isis interface eth1 password plaintext-password mysharedsecret
```

```{cfgcmd} set protocols isis interface \<interface\> password md5 \<text\>

**Configure the MD5 authentication key for the specified interface.**

This key is used to generate a cryptographic hash that is included in
IS-IS Hello (IIH) PDUs sent on the interface and validated in IIH PDUs
received from neighbors.

A mismatch prevents adjacency formation and tears down an established
adjacency.
```

Example:

```none
set protocols isis interface eth1 password md5 mysharedsecret
```

```{cfgcmd} set protocols isis interface \<interface\> priority \<0-127\>

**Configure the IS-IS {abbr}`DIS (Designated Intermediate System)`
election priority for the specified interface.**

The priority is used in DIS election on the broadcast (LAN) segment. The
router whose interface advertises the highest priority wins.

The default priority is 64.
```

```{note}
The configured value applies only to broadcast interfaces and has no
effect on point-to-point interfaces.
```

Example:

```none
set protocols isis interface eth1 priority 100
```

```{cfgcmd} set protocols isis interface \<interface\> psnp-interval \<0-127\>

**Configure the interval, in seconds, between successive IS-IS
{abbr}`PSNP (Partial Sequence Number PDU)` transmissions on the
specified interface.**
```

Example:

```none
set protocols isis interface eth1 psnp-interval 2
```

```{cfgcmd} set protocols isis interface \<interface\> no-three-way-handshake

**Disable the Three-Way Handshake for Point-to-Point (P2P) adjacencies
([RFC 5303](https://datatracker.ietf.org/doc/html/rfc5303)).**

The three-way handshake is enabled by default.
```

```{note}
This command applies only to point-to-point interfaces and has no effect
on broadcast interfaces.
```

Example:

```none
set protocols isis interface eth1 no-three-way-handshake
```

```{cfgcmd} set protocols isis interface \<interface\> ldp-sync disable

**Disable LDP-IGP synchronization on the specified IS-IS interface.**

With LDP-IGP synchronization enabled, IS-IS advertises a maximum metric
on the interface while LDP is not yet synchronized on it.

Disabling it on this interface causes IS-IS to advertise the configured
metric regardless of LDP synchronization state.
```

```{note}
This command applies only if LDP-IGP synchronization is enabled for the
IS-IS routing process.
```

Example:

```none
set protocols isis interface eth1 ldp-sync disable
```

```{cfgcmd} set protocols isis interface \<interface\> ldp-sync holddown \<0-10000\>

**Configure the time, in seconds, that IS-IS keeps the specified interface
at max-metric while waiting for LDP-IGP synchronization to complete.**

When this time expires, IS-IS restores the configured interface metric
even if LDP-IGP synchronization has not completed.

The default value is 0, which causes IS-IS to wait indefinitely.
```

```{note}
This setting overrides the LDP-IGP synchronization hold-down time
configured for the IS-IS routing process.
```

Example:

```none
set protocols isis interface eth1 ldp-sync holddown 60
```

```{cfgcmd} set protocols isis interface \<interface\> bfd profile \<profile-name\>

**Attach a BFD profile to the IS-IS adjacency on the specified
interface.**

When configured, IS-IS uses the BFD session described by the named
profile to detect adjacency failure. If BFD reports the session down,
the IS-IS adjacency is torn down immediately rather than waiting for
the Hello holding time to expire.

The profile itself is configured under
`set protocols bfd profile <profile-name>`.
```

Example:

```none
set protocols isis interface eth1 bfd profile ISIS-FAST
```

#### Level-1 fast-reroute

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute lfa level-1 enable

**Enable Level-1 {abbr}`LFA (Loop-Free Alternate)` computation on the
specified interface.**

When enabled, IS-IS precomputes a backup next-hop for each Level-1
destination reached through this interface. If the primary next-hop
fails, the router uses the precomputed backup instead.
```

Example:

```none
set protocols isis interface eth1 fast-reroute lfa level-1 enable
```

```{cfgcmd} set protocols isis interface \<interface-1\> fast-reroute lfa level-1 exclude interface \<interface-2\>

**Exclude an interface from being selected as a Level-1 LFA backup
next-hop on the specified interface.**

In the command syntax, `<interface-1>` identifies the protected interface,
and `<interface-2>` identifies the interface that must not be used as an
LFA backup next-hop.
```

Example:

```none
set protocols isis interface eth1 fast-reroute lfa level-1 exclude interface eth2
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute remote-lfa level-1 tunnel mpls-ldp

**Enable Level-1 remote LFA computation using MPLS-LDP tunnels on the
specified interface.**

Remote LFA provides backup paths when local LFA cannot find a loop-free
alternate neighbor.

If the primary next-hop fails, the router sends traffic into an MPLS-LDP
tunnel to a precomputed remote LFA node. From there, normal IS-IS
forwarding delivers it to the destination.
```

```{note}
Remote LFA requires the corresponding local LFA to be configured on this
interface.
```

```{note}
Remote LFA requires all potential remote LFA endpoints in the IS-IS
routing instance to accept targeted LDP Hello messages.
```

Example:

```none
set protocols isis interface eth1 fast-reroute remote-lfa level-1 tunnel mpls-ldp
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute remote-lfa level-1 maximum-metric \<1-16777215\>

**Configure the maximum metric for Level-1 remote LFA node selection on
the specified interface.**

Remote LFA nodes with a metric exceeding this value are excluded from
selection.
```

```{note}
The maximum metric applies only when the corresponding remote LFA is
enabled on this interface.
```

Example:

```none
set protocols isis interface eth1 fast-reroute remote-lfa level-1 maximum-metric 100
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-1

**Enable Level-1 {abbr}`TI-LFA (Topology Independent Loop-Free Alternate)`
computation on the specified interface.**

By default, TI-LFA operates in link protection mode, computing backup
paths that protect against the failure of this interface's link.
```

```{note}
LFA and TI-LFA cannot be configured at the same level on the same
interface.
```

Example:

```none
set protocols isis interface eth1 fast-reroute ti-lfa level-1
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-1 node-protection

**Enable node protection mode for Level-1 TI-LFA on the specified
interface.**

In node protection mode, TI-LFA computes backup paths that protect
against the failure of the next-hop node.
```

```{note}
LFA and TI-LFA cannot be configured at the same level on the same
interface.
```

Example:

```none
set protocols isis interface eth0 fast-reroute ti-lfa level-1 node-protection
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-1 node-protection link-fallback

**Enable link-protection fallback for Level-1 TI-LFA on the specified
interface.**

When node protection cannot compute a backup path, the computation falls
back to link protection.
```

Example:

```none
set protocols isis interface eth1 fast-reroute ti-lfa level-1 node-protection link-fallback
```

#### Level-2 fast-reroute

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute lfa level-2 enable

**Enable Level-2 LFA computation on the specified interface.**

When enabled, IS-IS precomputes a backup next-hop for each Level-2
destination reached through this interface. If the primary next-hop
fails, the router uses the precomputed backup instead.
```

Example:

```none
set protocols isis interface eth1 fast-reroute lfa level-2 enable
```

```{cfgcmd} set protocols isis interface \<interface-1\> fast-reroute lfa level-2 exclude interface \<interface-2\>

**Exclude an interface from being selected as a Level-2 LFA backup
next-hop on the specified interface.**

In the command syntax, `<interface-1>` identifies the protected interface,
and `<interface-2>` identifies the interface that must not be used as an
LFA backup next-hop.
```

Example:

```none
set protocols isis interface eth1 fast-reroute lfa level-2 exclude interface eth2
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute remote-lfa level-2 tunnel mpls-ldp

**Enable Level-2 remote LFA computation using MPLS-LDP tunnels on the
specified interface.**

Remote LFA provides backup paths when local LFA cannot find a loop-free
alternate neighbor.

If the primary next-hop fails, the router sends traffic into an MPLS-LDP
tunnel to a precomputed remote LFA node. From there, normal IS-IS
forwarding delivers it to the destination.
```

```{note}
Remote LFA requires the corresponding local LFA to be configured on this
interface.
```

```{note}
Remote LFA requires all potential remote LFA endpoints in the IS-IS
routing instance to accept targeted LDP Hello messages.
```

Example:

```none
set protocols isis interface eth1 fast-reroute remote-lfa level-2 tunnel mpls-ldp
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute remote-lfa level-2 maximum-metric \<1-16777215\>

**Configure the maximum metric for Level-2 remote LFA node selection on
the specified interface.**

Remote LFA nodes with a metric exceeding this value are excluded from
selection.
```

```{note}
The maximum metric applies only when the corresponding remote LFA is
enabled on this interface.
```

Example:

```none
set protocols isis interface eth1 fast-reroute remote-lfa level-2 maximum-metric 100
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-2

**Enable Level-2 TI-LFA computation on the specified interface.**

By default, TI-LFA operates in link protection mode, computing backup
paths that protect against the failure of this interface's link.
```

```{note}
LFA and TI-LFA cannot be configured at the same level on the same
interface.
```

Example:

```none
set protocols isis interface eth1 fast-reroute ti-lfa level-2
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-2 node-protection

**Enable node protection mode for Level-2 TI-LFA on the specified
interface.**

In node protection mode, TI-LFA computes backup paths that protect
against the failure of the next-hop node.
```

```{note}
LFA and TI-LFA cannot be configured at the same level on the same
interface.
```

Example:

```none
set protocols isis interface eth0 fast-reroute ti-lfa level-2 node-protection
```

```{cfgcmd} set protocols isis interface \<interface\> fast-reroute ti-lfa level-2 node-protection link-fallback

**Enable link-protection fallback for Level-2 TI-LFA on the specified
interface.**

When node protection cannot compute a backup path, the computation falls
back to link protection.
```

```{note}
LFA and TI-LFA cannot be configured at the same level on the same
interface.
```

Example:

```none
set protocols isis interface eth1 fast-reroute ti-lfa level-2 node-protection link-fallback
```

### Route redistribution

#### Level-1 IPv4

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-1

**Configure the redistribution of IPv4 routing information from the
specified route source into IS-IS Level-1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-1
```

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-1 metric \<0-16777215\>

**Configure the IS-IS metric for IPv4 routes redistributed from the
specified route source into IS-IS Level-1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-1 metric 50
```

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-1 route-map \<name\>

**Apply a route-map to IPv4 routes redistributed from the specified route
source into IS-IS Level-1.**

Only routes permitted by the route-map are redistributed. The route-map
can modify the metric and tag of permitted routes.
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-1 route-map BGP-TO-ISIS
```

#### Level-1 IPv6

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-1

**Configure the redistribution of IPv6 routing information from the
specified route source into IS-IS Level-1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-1
```

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-1 metric \<0-16777215\>

**Configure the IS-IS metric for IPv6 routes redistributed from the
specified route source into IS-IS Level-1.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-1 metric 50
```

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-1 route-map \<name\>

**Apply a route-map to IPv6 routes redistributed from the specified route
source into IS-IS Level-1.**

Only routes permitted by the route-map are redistributed. The route-map
can modify the metric and tag of permitted routes.
```

```{note}
This command requires the router's IS-IS level to be set to `level-1` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-1 route-map BGP-TO-ISIS
```

#### Level-2 IPv4

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-2

**Configure the redistribution of IPv4 routing information from the
specified route source into IS-IS Level-2.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-2
```

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-2 metric \<0-16777215\>

**Configure the IS-IS metric for IPv4 routes redistributed from the
specified route source into IS-IS Level-2.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-2 metric 50
```

```{cfgcmd} set protocols isis redistribute ipv4 \<bgp | connected | kernel | nhrp | ospf | rip | babel | static\> level-2 route-map \<name\>

**Apply a route-map to IPv4 routes redistributed from the specified route
source into IS-IS Level-2.**

Only routes permitted by the route-map are redistributed. The route-map
can modify the metric and tag of permitted routes.
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv4 bgp level-2 route-map BGP-TO-ISIS
```

#### Level-2 IPv6

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-2

**Configure the redistribution of IPv6 routing information from the
specified route source into IS-IS Level-2.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-2
```

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-2 metric \<0-16777215\>

**Configure the IS-IS metric for IPv6 routes redistributed from the
specified route source into IS-IS Level-2.**
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-2 metric 50
```

```{cfgcmd} set protocols isis redistribute ipv6 \<bgp | connected | kernel | ospf6 | ripng | babel | static\> level-2 route-map \<name\>

**Apply a route-map to IPv6 routes redistributed from the specified route
source into IS-IS Level-2.**

Only routes permitted by the route-map are redistributed. The route-map
can modify the metric and tag of permitted routes.
```

```{note}
This command requires the router's IS-IS level to be set to `level-2` or
`level-1-2`.
```

Example:

```none
set protocols isis redistribute ipv6 bgp level-2 route-map BGP-TO-ISIS
```

### Timers

```{cfgcmd} set protocols isis lsp-gen-interval \<1-120\>

**Configure the minimum interval, in seconds, between consecutive
regenerations of this router's own LSP.**

Regenerations triggered by events, such as network topology changes, are
postponed until the specified interval has elapsed since the previous
regeneration.

The default interval is 30 seconds.
```

Example:

```none
set protocols isis lsp-gen-interval 5
```

```{cfgcmd} set protocols isis lsp-refresh-interval \<2-65235\>

**Configure the maximum interval, in seconds, between consecutive
regenerations of this router's own LSP.**

When this interval elapses, the router regenerates its LSP even if no
event has triggered a regeneration.
```

```{note}
The value must be less than the configured `max-lsp-lifetime` so that the
LSP is refreshed before its remaining lifetime expires.
```

Example:

```none
set protocols isis lsp-refresh-interval 600
```

```{cfgcmd} set protocols isis max-lsp-lifetime \<350-65535\>

**Configure the lifetime, in seconds, of LSPs originated by this router.**

The default is 1200 seconds.
```

```{note}
This value must be greater than `lsp-refresh-interval` so that LSPs are
refreshed before their lifetime expires.
```

Example:

```none
set protocols isis max-lsp-lifetime 1500
```

```{cfgcmd} set protocols isis spf-interval \<1-120\>

**Configure the interval, in seconds, between consecutive SPF calculations
on this router.**

SPF calculations triggered by events, such as network topology changes,
are postponed until the specified interval has elapsed since the previous
calculation.
```

Example:

```none
set protocols isis spf-interval 5
```

The following commands implement the IETF SPF delay algorithm for IS-IS
described in [RFC 8405](https://datatracker.ietf.org/doc/html/rfc8405).
They control how quickly the router runs the SPF calculation after topology
changes are detected.

```{note}
All five `spf-delay-ietf` parameters must be configured; setting only some
of them causes a commit failure.
```

```{cfgcmd} set protocols isis spf-delay-ietf holddown \<0-60000\>

**Configure the interval, in milliseconds, that must elapse without
topology changes before the router considers the network stable.**

Once this time passes, the router returns to its initial response state
and applies `init-delay` to the next SPF calculation.
```

Example:

```none
set protocols isis spf-delay-ietf holddown 10000
```

```{cfgcmd} set protocols isis spf-delay-ietf init-delay \<0-60000\>

**Configure the interval, in milliseconds, that the router waits before
running the first SPF calculation when a new topology change arrives
after the network is considered stable.**
```

Example:

```none
set protocols isis spf-delay-ietf init-delay 500
```

```{cfgcmd} set protocols isis spf-delay-ietf time-to-learn \<0-60000\>

**Configure the learning interval, in milliseconds, that begins when the
first topology change is received.**

Within this window, the router applies the `short-delay` before performing
SPF recalculations triggered by additional topology changes.

If topology changes continue to arrive after this window expires, the
router considers the network unstable and delays subsequent SPF
recalculations by the configured `long-delay`.
```

Example:

```none
set protocols isis spf-delay-ietf time-to-learn 5000
```

```{cfgcmd} set protocols isis spf-delay-ietf long-delay \<0-60000\>

**Configure the interval, in milliseconds, the router applies before
running an SPF calculation when topology changes arrive after the
`time-to-learn` window expires.**
```

Example:

```none
set protocols isis spf-delay-ietf long-delay 10000
```

```{cfgcmd} set protocols isis spf-delay-ietf short-delay \<0-60000\>

**Configure the interval, in milliseconds, the router applies before
running subsequent SPF calculations triggered by additional topology
changes within the `time-to-learn` window.**

The first SPF in the window is delayed by `init-delay`.
```

Example:

```none
set protocols isis spf-delay-ietf short-delay 1000
```

### Loop-Free Alternate (LFA)

#### Level-1

```{cfgcmd} set protocols isis fast-reroute lfa remote prefix-list \<name\> level-1

**Filter which PQ nodes the router evaluates as Remote LFA tunnel
endpoints for IS-IS Level-1 using the specified prefix-list.**

Only PQ nodes permitted by the prefix-list are evaluated as potential
backup routers.
```

Example:

```none
set protocols isis fast-reroute lfa remote prefix-list CRITICAL-ROUTES level-1
```

```{cfgcmd} set protocols isis fast-reroute lfa local load-sharing disable level-1

**Disable load sharing across multiple local LFAs for IS-IS Level-1.**

When multiple LFAs are available to back up a given destination, the
router uses only one LFA instead of distributing rerouted traffic across
all of them.
```

Example:

```none
set protocols isis fast-reroute lfa local load-sharing disable level-1
```

```{cfgcmd} set protocols isis fast-reroute lfa local tiebreaker \<downstream | lowest-backup-metric | node-protecting\> index \<1-255\> level-1

**Configure a tiebreaker rule for selecting a single LFA when multiple
local LFAs exist for an IS-IS Level-1 prefix.**

Tiebreaker rules with lower index numbers are evaluated first. You can
choose one of the following tiebreaker behaviors:

- `downstream`: Prefers an alternate that is closer to the destination
  than this router.
- `lowest-backup-metric`: Prefers the alternate with the shortest path to
  the destination.
- `node-protecting`: Prefers an alternate that bypasses the primary
  next-hop router, protecting against a complete node failure rather than
  just link failure.
```

Example:

```none
set protocols isis fast-reroute lfa local tiebreaker node-protecting index 10 level-1
```

```{cfgcmd} set protocols isis fast-reroute lfa local priority-limit \<critical | high | medium\> level-1

**Configure the priority limit for calculating local LFAs in IS-IS
Level-1.**

The router calculates LFAs only for prefixes with a priority greater than
or equal to the specified limit. For example, setting the limit to `high`
protects both `high` and `critical` prefixes.
```

```{note}
Prefixes carry one of the following priorities: `low`, `medium`, `high`,
or `critical`. By default, the router assigns `medium` priority to
loopbacks and `low` priority to all other prefixes. The limit itself
accepts only `medium`, `high`, or `critical`.
```

Example:

```none
set protocols isis fast-reroute lfa local priority-limit critical level-1
```

#### Level-2

```{cfgcmd} set protocols isis fast-reroute lfa remote prefix-list \<name\> level-2

**Filter which PQ nodes the router evaluates as Remote LFA tunnel
endpoints for IS-IS Level-2 using the specified prefix-list.**

Only PQ nodes permitted by the prefix-list are evaluated as potential
backup routers.
```

Example:

```none
set protocols isis fast-reroute lfa remote prefix-list CRITICAL-ROUTES level-2
```

```{cfgcmd} set protocols isis fast-reroute lfa local load-sharing disable level-2

**Disable load sharing across multiple local LFAs for IS-IS Level-2.**

When multiple LFAs are available to back up a given destination, the
router uses only one LFA instead of distributing rerouted traffic across
all of them.
```

Example:

```none
set protocols isis fast-reroute lfa local load-sharing disable level-2
```

```{cfgcmd} set protocols isis fast-reroute lfa local tiebreaker \<downstream | lowest-backup-metric | node-protecting\> index \<1-255\> level-2

**Configure a tiebreaker rule for selecting a single LFA when multiple
local LFAs exist for an IS-IS Level-2 prefix.**

Tiebreaker rules with lower index numbers are evaluated first. You can
choose one of the following tiebreaker behaviors:

- `downstream`: Prefers an alternate that is closer to the destination
  than this router.
- `lowest-backup-metric`: Prefers the alternate with the shortest path to
  the destination.
- `node-protecting`: Prefers an alternate that bypasses the primary
  next-hop router, protecting against a complete node failure rather than
  just link failure.
```

Example:

```none
set protocols isis fast-reroute lfa local tiebreaker node-protecting index 10 level-2
```

```{cfgcmd} set protocols isis fast-reroute lfa local priority-limit \<critical | high | medium\> level-2

**Configure the priority limit for calculating local LFAs in IS-IS
Level-2.**
```

```{note}
Prefixes carry one of the following priorities: `low`, `medium`, `high`,
or `critical`. By default, the router assigns `medium` priority to
loopbacks and `low` priority to all other prefixes. The limit itself
accepts only `medium`, `high`, or `critical`.
```

Example:

```none
set protocols isis fast-reroute lfa local priority-limit critical level-2
```

### Segment Routing over IPv6 (SRv6)

```{cfgcmd} set protocols isis segment-routing srv6 interface \<interface\>

**Enable IS-IS Segment Routing over IPv6 (SRv6) on the specified
interface.**

Once enabled, IS-IS allocates and advertises an adjacency SID for each
IS-IS neighbor reached through this interface, so other routers can steer
SRv6 traffic over it.
```

Example:

```none
set protocols isis segment-routing srv6 interface eth1
```

```{cfgcmd} set protocols isis segment-routing srv6 locator \<locator\>

**Configure IS-IS to use a globally defined SRv6 locator.**

The locator itself must be configured separately using
`set protocols segment-routing srv6 locator <name> prefix <ipv6-prefix>`.

Once you attach the locator to IS-IS, the routing process automatically:

- Allocates a node SID for the router and an adjacency SID for each of
  its IS-IS neighbors.
- Advertises the locator and these SIDs to the network so other routers
  can route SRv6 traffic through this node.
```

Example:

```none
set protocols isis segment-routing srv6 locator MAIN-LOCATOR
```

```{cfgcmd} set protocols isis segment-routing srv6 node-msd max-end-d \<0-255\>

**Configure the Maximum End D MSD value advertised by the router
([RFC 9352](https://datatracker.ietf.org/doc/html/rfc9352)).**

This value indicates the maximum number of SIDs in the SRH that this
router can handle when performing a decapsulation behavior (e.g.,
`End.DX6`, `End.DT4`, `End.DT46`, `End with USD`, `End.X with USD`)
defined in [RFC 8986](https://datatracker.ietf.org/doc/html/rfc8986).

If this value is set to 0 or left unconfigured, the router advertises
that it cannot decapsulate and forward packets when an SRH is present.
```

Example:

```none
set protocols isis segment-routing srv6 node-msd max-end-d 8
```

```{cfgcmd} set protocols isis segment-routing srv6 node-msd max-end-pop \<0-255\>

**Configure the Maximum End Pop MSD value advertised by the router
([RFC 9352](https://datatracker.ietf.org/doc/html/rfc9352)).**

This value indicates the maximum number of SIDs in the received SRH to
which this router can apply the PSP (Penultimate Segment Pop) or USP
(Ultimate Segment Pop) flavors defined in
[RFC 8986, §4.16](https://datatracker.ietf.org/doc/html/rfc8986#section-4.16).

If this value is set to 0 or left unconfigured, the router advertises
that it cannot apply the PSP or USP flavors.
```

Example:

```none
set protocols isis segment-routing srv6 node-msd max-end-pop 16
```

```{cfgcmd} set protocols isis segment-routing srv6 node-msd max-h-encaps \<0-255\>

**Configure the Maximum H.Encaps MSD value advertised by the router
([RFC 9352](https://datatracker.ietf.org/doc/html/rfc9352)).**

This value indicates the maximum number of SIDs that this router can
insert into a new {abbr}`SRH (Segment Routing Header)` when encapsulating
traffic (the H.Encaps behavior), as defined in
[RFC 8986](https://datatracker.ietf.org/doc/html/rfc8986).

If set to 0 or left unconfigured, the router advertises that it can only
apply an SR Policy containing a single segment, without inserting an SRH.
```

Example:

```none
set protocols isis segment-routing srv6 node-msd max-h-encaps 8
```

```{cfgcmd} set protocols isis segment-routing srv6 node-msd max-segs-left \<0-255\>

**Configure the Maximum Segments Left MSD value advertised by the router
([RFC 9352](https://datatracker.ietf.org/doc/html/rfc9352)).**

This value indicates the maximum Segments Left value
([RFC 8754](https://datatracker.ietf.org/doc/html/rfc8754)) in the SRH of
a received packet that this router can process before applying the
Endpoint behavior associated with a SID.

If set to 0 or left unconfigured, the router advertises that it can only
be the last segment of an SRv6 path. Set a value greater than 0 to also
allow the router to be used as a segment in the middle of a path.
```

Example:

```none
set protocols isis segment-routing srv6 node-msd max-segs-left 8
```

## Examples

### Enable IS-IS

The following example demonstrates a basic IS-IS routing protocol setup between
two VyOS routers.

**Node 1:**

```none
set interfaces loopback lo address '198.51.100.1/32'
set interfaces ethernet eth1 address '192.0.2.1/24'

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0001.00'
```

**Node 2:**

```none
set interfaces loopback lo address '198.51.100.2/32'
set interfaces ethernet eth1 address '192.0.2.2/24'

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0002.00'
```

This gives us the following neighborships, Level 1 and Level 2:

```none
Node-1@vyos:~$ show isis neighbor
Area VyOS:
 System Id           Interface   L  State        Holdtime SNPA
 vyos                eth1        1  Up            28       0c87.6c09.0001
 vyos                eth1        2  Up            28       0c87.6c09.0001

Node-2@vyos:~$ show isis neighbor
Area VyOS:
 System Id           Interface   L  State        Holdtime SNPA
 vyos                eth1        1  Up            29       0c33.0280.0001
 vyos                eth1        2  Up            28       0c33.0280.0001
```

Here's the IP routes that are populated. Just the loopback:

```none
Node-1@vyos:~$ show ip route isis
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   192.0.2.0/24 [115/20] via 192.0.2.2, eth1 inactive, weight 1, 00:02:22
I>* 198.51.100.2/32 [115/20] via 192.0.2.2, eth1, weight 1, 00:02:22

Node-2@vyos:~$ show ip route isis
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   192.0.2.0/24 [115/20] via 192.0.2.1, eth1 inactive, weight 1, 00:02:21
I>* 198.51.100.1/32 [115/20] via 192.0.2.1, eth1, weight 1, 00:02:21
```

### Enable IS-IS and redistribute routes not natively in IS-IS

The following example demonstrates a basic IS-IS setup between two VyOS
routers, with Node 1 also redistributing a connected network that isn't running
IS-IS.

**Node 1:**

```none
set interfaces dummy dum0 address '203.0.113.1/24'
set interfaces ethernet eth1 address '192.0.2.1/24'

set policy prefix-list EXPORT-ISIS rule 10 action 'permit'
set policy prefix-list EXPORT-ISIS rule 10 prefix '203.0.113.0/24'
set policy route-map EXPORT-ISIS rule 10 action 'permit'
set policy route-map EXPORT-ISIS rule 10 match ip address prefix-list 'EXPORT-ISIS'

set protocols isis interface eth1
set protocols isis net '49.0001.2030.0011.3001.00'
set protocols isis redistribute ipv4 connected level-2 route-map 'EXPORT-ISIS'
```

**Node 2:**

```none
set interfaces ethernet eth1 address '192.0.2.2/24'

set protocols isis interface eth1
set protocols isis net '49.0001.1920.0000.2002.00'
```

Routes on Node 2:

```none
Node-2@r2:~$ show ip route isis
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route, q - queued route, r - rejected route

I   203.0.113.0/24 [115/10] via 192.0.2.1, eth1, 00:03:42
```

### Enable IS-IS and IGP-LDP synchronization

The following example demonstrates an IS-IS setup with IGP-LDP synchronization
enabled on Node 1.

**Node 1:**

```none
set interfaces loopback lo address 198.51.100.1/32
set interfaces ethernet eth0 address 192.0.2.1/24

set protocols isis interface eth0
set protocols isis interface lo passive
set protocols isis ldp-sync
set protocols isis net 49.0001.1980.5110.0001.00

set protocols mpls interface eth0
set protocols mpls ldp discovery transport-ipv4-address 198.51.100.1
set protocols mpls ldp interface lo
set protocols mpls ldp interface eth0
set protocols mpls ldp parameters transport-prefer-ipv4
set protocols mpls ldp router-id 198.51.100.1
```

This gives us IGP-LDP synchronization for all non-loopback interfaces with
a holddown timer of zero seconds:

```none
Node-1@vyos:~$  show isis mpls ldp-sync
eth0
  LDP-IGP Synchronization enabled: yes
  holddown timer in seconds: 0
  State: Sync achieved
```

### Enable IS-IS with Segment Routing (experimental)

The following example demonstrates IS-IS with segment routing between two VyOS
routers.

**Node 1:**

```none
set interfaces loopback lo address '198.51.100.1/32'
set interfaces ethernet eth1 address '192.0.2.1/24'

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0001.00'
set protocols isis segment-routing global-block high-label-value '599'
set protocols isis segment-routing global-block low-label-value '550'
set protocols isis segment-routing prefix 198.51.100.1/32 index value '1'
set protocols isis segment-routing prefix 198.51.100.1/32 index explicit-null
set protocols mpls interface 'eth1'
```

**Node 2:**

```none
set interfaces loopback lo address '198.51.100.2/32'
set interfaces ethernet eth1 address '192.0.2.2/24'

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0002.00'
set protocols isis segment-routing global-block high-label-value '599'
set protocols isis segment-routing global-block low-label-value '550'
set protocols isis segment-routing prefix 198.51.100.2/32 index value '2'
set protocols isis segment-routing prefix 198.51.100.2/32 index explicit-null
set protocols mpls interface 'eth1'
```

This gives us MPLS segment routing enabled and labels for far end loopbacks:

```none
Node-1@vyos:~$ show mpls table
 Inbound Label  Type        Nexthop                Outbound Label
 ----------------------------------------------------------------------
 552            SR (IS-IS)  192.0.2.2              IPv4 Explicit Null <-- Node-2 loopback learned on Node-1
 15000          SR (IS-IS)  192.0.2.2              implicit-null
 15001          SR (IS-IS)  fe80::e87:6cff:fe09:1  implicit-null
 15002          SR (IS-IS)  192.0.2.2              implicit-null
 15003          SR (IS-IS)  fe80::e87:6cff:fe09:1  implicit-null

Node-2@vyos:~$ show mpls table
 Inbound Label  Type        Nexthop               Outbound Label
 ---------------------------------------------------------------------
 551            SR (IS-IS)  192.0.2.1             IPv4 Explicit Null <-- Node-1 loopback learned on Node-2
 15000          SR (IS-IS)  192.0.2.1             implicit-null
 15001          SR (IS-IS)  fe80::e33:2ff:fe80:1  implicit-null
 15002          SR (IS-IS)  192.0.2.1             implicit-null
 15003          SR (IS-IS)  fe80::e33:2ff:fe80:1  implicit-null
```

Here is the routing tables showing the MPLS segment routing label operations:

```none
Node-1@vyos:~$ show ip route isis
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   192.0.2.0/24 [115/20] via 192.0.2.2, eth1 inactive, weight 1, 00:07:48
I>* 198.51.100.2/32 [115/20] via 192.0.2.2, eth1, label IPv4 Explicit Null, weight 1, 00:03:39

Node-2@vyos:~$ show ip route isis
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   192.0.2.0/24 [115/20] via 192.0.2.1, eth1 inactive, weight 1, 00:07:46
I>* 198.51.100.1/32 [115/20] via 192.0.2.1, eth1, label IPv4 Explicit Null, weight 1, 00:03:43
```

### Enable IS-IS with Segment Routing over IPv6 (experimental)

The following example demonstrates IS-IS with Segment Routing over IPv6
between two VyOS routers.

**Node 1:**

```none
set interfaces dummy dum6 description "SRv6 IS-IS"
set interfaces ethernet eth1 address '192.0.2.1/24'
set interfaces loopback lo address '198.51.100.1/32'

set protocols segment-routing srv6 locator MAIN prefix 2001:db8:1::/64
set protocols segment-routing interface eth1

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0001.00'
set protocols isis segment-routing srv6 locator MAIN
set protocols isis segment-routing srv6 interface dum6
```

**Node 2:**

```none
set interfaces dummy dum6 description "SRv6 IS-IS"
set interfaces ethernet eth1 address '192.0.2.2/24'
set interfaces loopback lo address '198.51.100.2/32'

set protocols segment-routing srv6 locator MAIN prefix 2001:db8:2::/64
set protocols segment-routing interface eth1

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0002.00'
set protocols isis segment-routing srv6 locator MAIN
set protocols isis segment-routing srv6 interface dum6
```

### Enable IS-IS with Segment Routing over IPv6 (uSID) (experimental)

The following example demonstrates IS-IS with SRv6 uSID (micro-SID) between two
VyOS routers.

**Node 1:**

```none
set interfaces dummy dum6 description "SRv6 IS-IS"
set interfaces ethernet eth1 address '192.0.2.1/24'
set interfaces loopback lo address '198.51.100.1/32'

set protocols segment-routing interface eth1
set protocols segment-routing srv6 locator MAIN prefix 2001:db8:1::/48
set protocols segment-routing srv6 locator MAIN behavior-usid
set protocols segment-routing srv6 locator MAIN block-len 32
set protocols segment-routing srv6 locator MAIN format usid-f3216
set protocols segment-routing srv6 locator MAIN func-bits 16
set protocols segment-routing srv6 locator MAIN node-len 16

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0001.00'
set protocols isis segment-routing srv6 interface dum6
set protocols isis segment-routing srv6 locator MAIN
```

**Node 2:**

```none
set interfaces dummy dum6 description "SRv6 IS-IS"
set interfaces ethernet eth1 address '192.0.2.2/24'
set interfaces loopback lo address '198.51.100.2/32'

set protocols segment-routing interface eth1
set protocols segment-routing srv6 locator MAIN prefix 2001:db8:2::/48
set protocols segment-routing srv6 locator MAIN behavior-usid
set protocols segment-routing srv6 locator MAIN block-len 32
set protocols segment-routing srv6 locator MAIN format usid-f3216
set protocols segment-routing srv6 locator MAIN func-bits 16
set protocols segment-routing srv6 locator MAIN node-len 16

set protocols isis interface eth1
set protocols isis interface lo
set protocols isis net '49.0001.1980.5110.0002.00'
set protocols isis segment-routing srv6 interface dum6
set protocols isis segment-routing srv6 locator MAIN
```