Lab63. IS-IS With Subinterface

Tujuan Lab :

  • Menerapkan IS – IS pada subinterface.
  • Mempelajari penerapan variabel tertentu pada IS-IS.
  • Optimaliasi neighbor IS-IS tanpa menghapus konfigurasi.

Topologi Lab :

is-iswithsubinterfaceMetode Lab:

  • Konfigurasikan ip seperti di bawah ini.
  • 1Mengkonfigurasikan router isis pada setiap router.
  • Untuk lo0 pada R1 dan R2 dikonfigurasikan sebagai passive interface.
  • Domain/Area untuk R1 dan R2 49.0012 sedangkan R3 dan R3 49.0034.

Konfigurasi IP pada Interface

R1(config)#int lo0
R1(config-if)# ip add 1.1.1.1 255.255.255.255
R1(config)#int fa0/0
R1(config-if)# no shut
R1(config)#int fa0/0.12
R1(config-if)# encapsulation dot1q 12
R1(config-if)# ip add 12.12.12.1 255.255.255.252
R2(config)#int lo0
R2(config-if)# ip add 2.2.2.2 255.255.255.255
R2(config)#int fa0/0
R2(config-if)# no shut
R2(config)#int fa0/0.12
R2(config-if)# encapsulation dot1q 12
R2(config-if)# ip add 12.12.12.2 255.255.255.252
R2(config)#int fa0/1
R2(config-if)# no shut
R2(config)#int fa0/1.23
R2(config-if)# encapsulation dot1q 23
R2(config-if)# ip add 23.23.23.1255.255.255.252
R3(config)#int lo0
R3(config-if)# ip add 3.3.3.3 255.255.255.255
R3(config)#int fa0/0
R3(config-if)# no shut
R3(config)#int fa0/0.34
R3(config-if)# encapsulation dot1q 34
R3(config-if)# ip add 34.34.34.1 255.255.255.252
R3(config)#int fa0/1
R3(config-if)# no shut
R3(config)#int fa0/1.23
R3(config-if)# encapsulation dot1q 23
R3(config-if)# ip add 23.23.23.2 255.255.255.252
R4(config)#int lo0
R4(config-if)# ip add 4.4.4.4 255.255.255.255
R4(config)#int fa0/0
R4(config-if)# no shut
R4(config)#int fa0/0.34
R4(config-if)# encapsulation dot1q 34
R4(config-if)# ip add 34.34.34.2 255.255.255.252

Konfigurasi routing isis pada setiap router

R1(config)#router isis
R1(config-router)# net 49.0012.0000.0000.0001.00
R1(config)#int fa0/0.12
R1(config-if)#ip router isis
R1(config)#router isis
R1(config-router)#passive-interface lo0
R2(config)#router isis
R2(config-router)#  net 49.0012.0000.0000.0002.00
R2(config)#int fa0/0.12
R2(config-if)#ip router isis
R2(config)#int fa0/0.23
R2(config-if)#ip router isis
R2(config)#router isis
R2(config-router)# passive-interface lo0
R3(config)#router isis
R3(config-router)#  net 49.0034.0000.0000.0003.00
R3(config)#int lo0
R3(config-if)#ip router isis
R3(config)#int fa0/0.12
R3(config-if)#ip router isis
R3(config)#int fa0/0.23
R3(config-if)#ip router isis
R4(config)#router isis
R4(config-router)#  net 49.0034.0000.0000.0004.00
R4(config)#int lo0
R4(config-if)#ip router isis
R4(config)#int fa0/0.12
R4(config-if)#ip router isis

Verifikasi

R1#sh isis neigh

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R2             L1   Fa0/0.12    12.12.12.2      UP    9        R2.02              
R2             L2   Fa0/0.12    12.12.12.2      UP    7        R2.02              
R1#

Secara default IS-IS membentuk adjacency L1 dan L2 dengan router lainnya. Circuit ID menunjukkan Designated Intermediate System (DIS) router pada segmennya. Apabila pada OSPF sama dengan peran Designated Router (DR).

R2#sh isis neigh

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R3             L2   Fa0/1.23    23.23.23.2      UP    9        R3.03              
R1             L1   Fa0/0.12    12.12.12.1      UP    25       R2.02              
R1             L2   Fa0/0.12    12.12.12.1      UP    29       R2.02              
R2#

Tidak seperti L1/L2 adjacenci antar router dalam area yang sama, R2 dan R3 tidak membuat level 1 adjacency karena areanya tidak sama. Hanya terjadi adjacency Level 2 saja. Kita bisa saja memfungsikan DIS dalam satu segment namun areanya berbeda. Circuit ID akan berubah pada kasus ini. Link akan naik dalam urutan yang ditambahkan. Jika f0/1.23 ditambahkan pada interface ketiga, circuit akan memunculkan ID dari R3.04 bukan R3.03

R4#sh clns neigh

System Id      Interface   SNPA                State  Holdtime  Type Protocol
R3             Fa0/0.34    c002.0b18.0000      Up     29        L1L2 IS-IS
R4#

SNPA menggambarkan enkapsulasi pada interface. Dalam kasus ini, MAC-address dari R3 interface fa0/0.34. Diketahui juga tipe dan protocol field sebagai gambaran keduanya level 1 dan level 2 adjacency.

R3#sh int fa0/0.34 | inc bia
  Hardware is Gt96k FE, address is c002.0b18.0000 (bia c002.0b18.0000)
R3#

Menghapus semua informasi peering yang tidak perlu guna mengoptimalkan hubungan isis neighbor tanpa menghapus bagian dari konfigurasi.
Cek adjacency yang terbentuk pada R1 sebelum optimalisasi

R1#sh isis neigh

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R2             L1   Fa0/0.12    12.12.12.2      UP    9        R2.02              
R2             L2   Fa0/0.12    12.12.12.2      UP    9        R2.02              
R1#

Konfigurasi IS-IS L1 untuk R1 dalam area 49.0012

R1(config)#router isis
R1(config-router)#is-type level-1

R1 hanya akan membuat L1 adjacency dengan ISIS router yang terkoneksi dengan area yang sama, perintah diatas mempengaruhi semua interface dalam router.
Ini juga mencegah R2 dalam membuat adjacency dengan R1. Namun R2 juga harus mengoptimasi untuk konsisten dan jelas, kecuali dinyatakan menggunakan beberapa nomor untuk perintah yang mungkin
Ketika R1 hanya membuat L1 adjacency, R2 mengedrop L2 adjacency dengan R1:

R2#sh isis neigh

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R1             L1   Fa0/0.12    12.12.12.1      UP    27       R2.02              
R3             L2   Fa0/1.23    23.23.23.2      UP    7        R3.03              
R2#

Kemudian konfigurasikan R2 agar hanya membuat L1 adjacency pada fa0/0.12 dan L2 adjacecncy hanya pada interface f0/1.23.

R2(config)#int fa0/0.12
R2(config-subif)#isis circuit-type level-1
R2(config-subif)#int fa0/1.23
R2(config-subif)#isis circuit-type level-2-only

Tipe ISIS adjacency dapat diubah dalam interface dengan perintah “isis circuit-type” untuk menggantikan default level1 dan level 2 (L1/L2).

R3(config)#int fa0/0.34
R3(config-subif)#isis circuit-type level-1
R3(config-subif)#int fa0/1.23
R3(config-subif)#isis circuit-type level-2-only

Kemudian konfigurasi R4 menjadi hanya adjacecncy level 1

R4(config)#router isis
R4(config-router)#is-type level-1

Verifikasi Konfigurasi

R4#sh isis neigh

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R3             L1   Fa0/0.34    34.34.34.1      UP    27       R4.02              
R4#
R4#sh ip route isis
     3.0.0.0/32 is subnetted, 1 subnets
i L1    3.3.3.3 [115/20] via 34.34.34.1, FastEthernet0/0.34
i*L1 0.0.0.0/0 [115/10] via 34.34.34.1, FastEthernet0/0.34
R4#

kandidat default route berperilaku sama seperti OSPF stub area. R4 hanya membentuk L1 adjacency dengan R3, R3 membatasi default route untuk tidak mengjinkan R4 melihat L2 database dan routing informasi. Default cost link dalam ISIS adalah “10”.

Tes konfigurasi

R4#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 184/272/492 ms
R4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 34.34.34.1 to network 0.0.0.0

     34.0.0.0/30 is subnetted, 1 subnets
C       34.34.34.0 is directly connected, FastEthernet0/0.34
     3.0.0.0/32 is subnetted, 1 subnets
i L1    3.3.3.3 [115/20] via 34.34.34.1, FastEthernet0/0.34
     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.4 is directly connected, Loopback0
i*L1 0.0.0.0/0 [115/10] via 34.34.34.1, FastEthernet0/0.34
R4#

Mengganti metrik untuk menghaslkan dan mengijinkan lebih type metric yang lebih rinci untuk ISIS. Agar kompatibel, type terlama metrik seharusnya tidak diterima oleh R3 dan R4. Hanya type “135” akan diijinkan dan dikirim pada R1 dan R2.

R3#sh clns prot | B Generate
  Generate narrow metrics: level-1-2
  Accept narrow metrics:   level-1-2
  Generate wide metrics:   none
  Accept wide metrics:     none
R3#

ISIS router akan secara otomatis generate dan mengijinkan narrow metrics. Narrow metrics digambarkan dengan  bit dan hanya menjangkau nilai maksimum “63”.

R3(config)#router isis
R3(config-router)#metric-style wide transition
R3#sh clns prot | B Generate
  Generate narrow metrics: none
  Accept narrow metrics:   level-1-2
  Generate wide metrics:   level-1-2
  Accept wide metrics:     level-1-2
R3#

Type lain dari metric-style mengacu pada TLV-135, yang akan menjadi perintah “metric-style wide”. Jenis metrik ini mengijinkan metrik 32 bit untuk digunakan. Dibuat untuk tujuan MPLS Traffic Engineering tetapi dapat juga digunakan untuk menyediakan granular metric tanpa running TE. Seperti yang terlihat, mekansme transisi mengijinkan router untuk tetap memproses narrow metric tetapi tidak menghasilkan narrow metric.
Selain TLV type didalamnya tetapi tentunya tidak dibatasi untuk:
“1” = Area
“2”= ISIS neighbors
“128” = Connected prefic = 4 bytr metric, 4 byte prefic, 4 byte mask
“130”= external prefix= 4 byte metric, 4 byte prefic, 4 byte mask
Ubah metric-style

R4(config)#router isis
R4(config-router)#metric-style wide transition
R4#sh ip route isis
     3.0.0.0/32 is subnetted, 1 subnets
i L1    3.3.3.3 [115/20] via 34.34.34.1, FastEthernet0/0.34
i*L1 0.0.0.0/0 [115/10] via 34.34.34.1, FastEthernet0/0.34
R4#
R1(config)#router isis
R1(config-router)#metric-style wide

R2(config)#router  isis
R2(config-router)#metric-style wide

Verifikasi

R1#sh ip route isis
     2.0.0.0/32 is subnetted, 1 subnets
i L1    2.2.2.2 [115/20] via 12.12.12.2, FastEthernet0/0.12
i*L1 0.0.0.0/0 [115/10] via 12.12.12.2, FastEthernet0/0.12
R1#
R2#sh ip route isis
     34.0.0.0/30 is subnetted, 1 subnets
i L2    34.34.34.0 [115/20] via 23.23.23.2, FastEthernet0/1.23
     1.0.0.0/32 is subnetted, 1 subnets
i L1    1.1.1.1 [115/10] via 12.12.12.1, FastEthernet0/0.12
     3.0.0.0/32 is subnetted, 1 subnets
i L2    3.3.3.3 [115/20] via 23.23.23.2, FastEthernet0/1.23
     4.0.0.0/32 is subnetted, 1 subnets
i L2    4.4.4.4 [115/30] via 23.23.23.2, FastEthernet0/1.23
R2#
R4#sh clns prot | B Generate
  Generate narrow metrics: none
  Accept narrow metrics:   level-1-2
  Generate wide metrics:   level-1-2
  Accept wide metrics:     level-1-2
R4#
R1#sh clns prot | B Generate
  Generate narrow metrics: none
  Accept narrow metrics:   none
  Generate wide metrics:   level-1-2
  Accept wide metrics:     level-1-2
R1#
R2#sh clns prot | B Generate
  Generate narrow metrics: none
  Accept narrow metrics:   none
  Generate wide metrics:   level-1-2
  Accept wide metrics:     level-1-2
R2#

Konfigurasi hello timer dari R1 ke R2 menjadi 1 detik dan holding time menjadi 4 waktu hello timer. LSP database akan dapat mengupdate setiap 10 menit sementara holding atas LSP tiap 20 menit ketika belum diperbaharui.

R1# debug isis adj
*Mar  1 03:32:03.147: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:32:06.451: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:32:08.403: ISIS-Adj: Sending L1 LAN IIH on FastEthernet0/0.12, length 1497
R1#
*Mar  1 03:32:09.679: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1# undebug all

Dalam output diatas, R1 mengirim hello’s (sekitar) setiap 10 detik. R1 mendapatkan hello setiap 3 detik dari R2 karena R2 adalah DIS dalam segment (DIS sama halnya DR dalam OSPF). DIS mengirim hello dalam ethernet segmen setiap 3 detik untuk memastikan neighbor akan melihat DIS sekarang yang terpilih. DIS router akan kembali dikonfigurasi pada lab nanti.

Mengkonfigurasi Hello dan Holddown timer

R1(config)#int fa0/0
R1(config-if)#isis hello-interval 1
R1(config-if)#isis hello-multiplier 4

Verifikasi

R1#debug isis adj-packets 
IS-IS Adjacency related packets debugging is on
R1#
*Mar  1 03:46:14.955: ISIS-Adj: Sending L1 LAN IIH on FastEthernet0/0.12, length 1497
R1#
*Mar  1 03:46:16.051: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:46:18.923: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:46:21.739: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:46:23.815: ISIS-Adj: Sending L1 LAN IIH on FastEthernet0/0.12, length 1497
*Mar  1 03:46:24.471: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#
*Mar  1 03:46:27.095: ISIS-Adj: Rec L1 IIH from c001.0b18.0000 (FastEthernet0/0.12), cir type L1, cir id 0000.0000.0002.02, length 1497
R1#

Konfigurasi LSP Timers pada semua router:

R1(config)#router isis
R1(config-router)#max-lsp-lifetime 2400
R1(config-router)#lsp-refresh-interval 600

R2(config)#router isis
R2(config-router)#max-lsp-lifetime 2400
R2(config-router)#lsp-refresh-interval 600

R3(config)#router isis
R3(config-router)#max-lsp-lifetime 2400
R3(config-router)#lsp-refresh-interval 600

R4(config)#router isis
R4(config-router)#max-lsp-lifetime 2400
R4(config-router)#lsp-refresh-interval 600

Kedua timer dihitung dalam detik. Secara default lifetime LSP adalah 1200 detik atau 20 menit, perintah set angka maximum dalam detik bahwa LSP dapat tetap dalam LSDB tanpa direfresh, jika melampaui, LSP didrop dari LSDR.
Secara default “LSP-refresh-interfal” diset pada 900 detik atau 15 menit. Peintah set interval dimana LSP tersebut direfresh.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.