ネットワーク備忘録

アラフォーエンジニアのネットワーク系の備忘録。twitter:@deigo25374582

JUNOSのIS-IS

IS-ISなんて使っているのを見たことないけど、一応JUNOSの副読本にはのっているんで確認だけ。 構成は↓

f:id:klock_3rd:20180505131749p:plain

ただし、IS-ISなんてJNCIS試験受けない限り遭遇しないだろうし、CCNPでも勉強した記憶はないので、今回はR5,R6,R7,R8のみで確認

以下で設定してみる

R5,R7 をエリア 49.0001
R8をエリア       49.0002
R6をエリア       49.0020
NSAPのシステムIDは各ルータのloopbackの第4オクテットを利用

この場合、R7-R8、R6-R8がL1/L2、R5-R7がL1のルーティングとなる。

 

R5 config

set protocols isis interface ge-0/0/0.1
set protocols isis interface ge-0/0/1.0 level 2 disable
set protocols isis interface lo0.0 passive
set protocols isis interface lo0.0 level 2 disable
set interfaces ge-0/0/1 unit 0 family inet address 172.16.8.1/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 2.1.1.5/32
set interfaces lo0 unit 0 family iso address 49.0001.0000.0000.0005.00

 R7 config

set protocols isis interface ge-0/0/0.0 level 1 disable
set protocols isis interface ge-0/0/1.0 level 2 disable
set protocols isis interface lo0.0 level 2 disable
set interfaces ge-0/0/0 unit 0 family inet address 172.16.10.1/24
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family inet address 172.16.8.254/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 2.1.1.7/32
set interfaces lo0 unit 0 family iso address 49.0001.0000.0000.0007.00

 R8 config

set protocols isis interface ge-0/0/0.0 level 1 disable
set protocols isis interface ge-0/0/1.0 level 1 disable
set protocols isis interface lo0.0 level 2 disable
set interfaces ge-0/0/0 unit 0 family inet address 172.16.10.254/24
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family inet address 172.16.9.1/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 2.1.1.8/32
set interfaces lo0 unit 0 family iso address 49.0002.0000.0000.0008.00

 R6 config

set protocols isis interface ge-0/0/1.0 level 1 disable
set protocols isis interface lo0.0 level 2 disable
set interfaces ge-0/0/0 unit 0 family inet address 172.16.7.254/24
set interfaces ge-0/0/1 unit 0 family inet address 172.16.9.254/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family inet address 172.16.6.1/24
set interfaces lo0 unit 0 family inet address 2.1.1.6/32
set interfaces lo0 unit 0 family iso address 49.0020.0000.0000.0006.00

 

R5での確認

 admin@R5# run show isis adjacency
Interface    System     L State Hold (secs) SNPA
ge-0/0/1.0   R7       1 Up       8 0:c:29:83:55:76

 

admin@R5# run show route protocol isis

0.0.0.0/0     *[IS-IS/15] 00:10:58, metric 10
          > to 172.16.8.254 via ge-0/0/1.0
2.1.1.7/32     *[IS-IS/15] 00:12:46, metric 10
          > to 172.16.8.254 via ge-0/0/1.0

 R6での確認

 admin@R6# run show isis adjacency
Interface    System     L State Hold (secs) SNPA
ge-0/0/1.0   R8       2 Up       7 0:c:29:28:e8:70

 

admin@R6# run show route protocol isis


2.1.1.5/32     *[IS-IS/18] 00:09:39, metric 30
          > to 172.16.9.1 via ge-0/0/1.0
2.1.1.7/32     *[IS-IS/18] 00:09:39, metric 20
          > to 172.16.9.1 via ge-0/0/1.0
2.1.1.8/32     *[IS-IS/18] 00:09:49, metric 10
          > to 172.16.9.1 via ge-0/0/1.0
172.16.8.0/24   *[IS-IS/18] 00:09:39, metric 30
          > to 172.16.9.1 via ge-0/0/1.0
172.16.10.0/24   *[IS-IS/18] 00:09:49, metric 20
          > to 172.16.9.1 via ge-0/0/1.0

 

R7での確認

admin@R7# run show isis adjacency
Interface    System     L State Hold (secs) SNPA
ge-0/0/0.0   R8       2 Up       19 0:c:29:28:e8:66
ge-0/0/1.0   R5       1 Up       21 0:c:29:4e:56:85

 

admin@R7# run show route protocol isis

2.1.1.5/32     *[IS-IS/15] 00:16:29, metric 10
          > to 172.16.8.1 via ge-0/0/1.0
2.1.1.6/32     *[IS-IS/18] 00:12:04, metric 20
          > to 172.16.10.254 via ge-0/0/0.0
2.1.1.8/32     *[IS-IS/18] 00:14:42, metric 10
          > to 172.16.10.254 via ge-0/0/0.0
172.16.9.0/24   *[IS-IS/18] 00:12:12, metric 20
          > to 172.16.10.254 via ge-0/0/0.0

R5は「0.0.0.0/」を受け取ってる。 IS-ISではどうもL1ルータは他エリアの経路に関してはデフォルトルートを受け取る模様。