Anda di halaman 1dari 2

Vlan Trunk Protocol (VTP) VTP merupakan protokol milik (proprietary) Cisco yang memungkinkan switch-switch Cisco (yang

terhubung) saling bertukar informasi. VTP memudahkan proses konfigurasi secara otomatis antar sesama switch. Bayangkan, jika sebuah network memiliki puluhan switch yang saling terhubung. Setiap switch menggunakan minimal sebuah port yang ditempatkan pada satu VLAN. VTP bekerja pada layer 2. Ada 3 mode VTP yang disediakan, yaitu: 1. Server mode 2. Client mode 3. Transparent mode Konfigurasi VLAN harus dilakukan pada switch server. Sementara switch-switch lain (client mode) akan menyesuaikan konfigurasinya secara otomatis dengan server. Syarat agar fitur VTP berfungsi: Switch-switch harus memiliki VTP domain yang sama. Menggunakan trunk ISL atau 802.1.q. Jika konfigurasi dilakukan pada beberapa switch, maka switch-switch tersebut harus memiliki password yang sama.

Pada kasus ini saya membuat 2 VLAN yaitu VLAN 2 dan VLAN 3 Pada switch 0 dan switch 1 fa0/1 sebagai trunk link, melihat teori diatas bahwa pada switch 0 (Server) dan switch 1 (Client) harus mempunyai domain dan password yang sama, yang membedakan adalah mode. Konfigurasi Switch 0 VTP Server
Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vtp mode server Device mode already VTP SERVER. Switch(config)#vtp domain rgi Changing VTP domain name from NULL to rgi Switch(config)#vtp password rgi Setting device VLAN database password to rgi Switch(config)#interface range fa0/1 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#ex

Konfigurasi Switch 1 VTP Client


Switch>en Switch#conf t Enter configuration commands, one per line. Switch(config)#vtp mode client

End with CNTL/Z.

Setting device to VTP CLIENT mode. Switch(config)#vtp domain rgi Changing VTP domain name from NULL to rgi Switch(config)#vtp password rgi Setting device VLAN database password to rgi Switch(config)#interface range fa0/1 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#ex

Informasi mengenai Informasi VTP bisa dilihat dengan perintah di bawah ini:
Switch#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : rgi VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x26 0x9C 0x30 0x6D 0x56 0x72 0xFD 0x7D Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found)

Membuat VLAN 2 dan VLAN 3 yang terhubung dengan Switch 0.


Konfigurasi VLAN 2 ada pada Switch 0:
Switch#conf t Enter configuration commands, one per line. Switch(config)#vlan 2 Switch(config-vlan)#name Lab.Bengkel Switch(config-vlan)#ex End with CNTL/Z.

Konfigurasi VLAN 3 ada pada Switch 0:


Switch#conf t Enter configuration commands, one per line. Switch(config)#vlan 3 Switch(config-vlan)#name Lab.Jaringan Switch(config-vlan)#ex End with CNTL/Z.

Lihatlah apakah vlan yang barusan kita buat pada Switch 0 sudah berhasil:
Switch#show vlan VLAN Name Status Ports ---- -------------------------------- --------------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 2 Lab.Bengkel active 3 Lab.Jaringan active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup

Jangan lupa untuk melakukan penyimpanan hasil konfigurasi pada switch dengan perintah dibawah ini:
Switch#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]

Anda mungkin juga menyukai