Introduction VTP and Configuration

Bismillah, kembali lagi teman-teman kita akan melanjutkan lesson  tentang VLAN Trunking Protocol (VTP), simpelnya VTP ini berfungsi untuk memudahkan kita dalam mengkonfigurasi VLAN hanya pada satu perangkat pusat (VTP Server) yang akan mendistribusi kan setiap vlan pada switch2 yang lain. Jadi ada VTP Server (Create and delete vlan yang terdistribusikan ke switch lain), VTP Client (hanya menerima distribusi vlan dari vtp server tanpa bisa create and delete vlan) dan VTP Transparant (jenis ini switch bisa create vlan local tanpa mendistribusikannya ke vlan lain) 

Definis VTP versi dari resmi cisco "VLAN Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain. This reduces the need to configure the same VLAN everywhere" source : https://www.cisco.com/c/en/us/support/docs/lan-switching/vtp/10558-21.html.

VTP server distribute VLAN to Clients

Oke, kita coba simulasikan dulu antara dua VTP ini : VTP Server dan VTP Client. ada 3 parameter yang akan kita konfigurasi : VTP mode server/ client/ transparant, VTP domain [tentukan nama domainnya apa, disini contohnya : GRUPVLAN dan VTP password [masukkan password] harus match smua perangkat.

VTP Server config :

Switch(config)#vtp mode server

Device mode already VTP SERVER.


Switch(config)#vtp domain ?

WORD The ascii name for the VTP administrative domain.

Switch(config)#vtp domain GRUP-VLAN

Changing VTP domain name from NULL to GRUP-VLAN


Switch(config)#vtp password 123semangat

Setting device VLAN database password to 123semangat


lakukan konfigurasi ini pada smua switch vtp-client dengan mengubah "vtp mode server" menjadi "vtp mode client". 


vtp mode client

vtp domain GRUP-VLAN

vtp password 123semangat


setelah semua selesai di konfigurasi kita coba create vlan pada vtp server jangan lupa teman supaya melakukan trunk antar switchnya ya biar VLAN bisa lewat :


VTP-Server(config)#vlan 10

VTP-Server(config-vlan)#vlan 20

VTP-Server(config-vlan)#vlan 30

VTP-Server(config-vlan)#end


Kemdian coba kita verifikasi pada server dan client apakah di client VLAN sudah terdistribusikan apakah belum ?


VTP-Server#show vlan brief


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

Gig0/1, Gig0/2

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active 


oke sekarang kita verifikasi di switch VTP-Client-1

VTP-CLient-1#show vlan brief


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active 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, Gig0/1

Gig0/2

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

VTP-CLient-1#


Berhasil vlan sudah terdistribusikan dengan selamat :-D...


dan VTP client itu hanya bisa menerima VLAN dari VTP-Server saja, tidak bisa create and delete VLAN, bahkan client tidak bisa menerima distribusi dari VTP-Transparant (karena transparant hanya bisa create and delete vlan local nya saja misal sw b buat vlan 100 yawis hanya ada di vlan brief si sw b saja). Agar lebih paham dengan VTP Transparant cek config dibawah ini masih dengan topology yg sama saya coba tukar mode client di switch vtp-client-2 menjadi transparant dan langsung kita verifikasi, 


Konfigurasi :

VTP-Client-2(config)#vtp mode ?

client Set the device to client mode.

server Set the device to server mode.

transparent Set the device to transparent mode.


VTP-Client-2(config)#vtp mode tran

VTP-Client-2(config)#vtp mode transparent

Setting device to VTP TRANSPARENT mode.


VTP-Client-2(config)#vtp domain GRUP-VLAN

Changing VTP domain name from NULL to GRUP-VLAN


VTP-Client-2(config)#vtp password 123semangat

Setting device VLAN database password to 123semangat


VTP-Client-2(config)#end

VTP-Client-2#


verifikasi vtp status :

VTP-Client-2#show vtp status

VTP Version : 2

Configuration Revision : 0

Maximum VLANs supported locally : 255

Number of existing VLANs : 5

VTP Operating Mode : Transparent

VTP Domain Name : GRUP-VLAN


kita tes konfigurasi vlan di switch vtp-client-2 dan kita verifikasi apakah vlan terdistribusi ke vtp client di switch vtp-client-1 :

VTP-Client-2#show vlan brief


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active 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, Gig0/1

Gig0/2

200 VLAN0200 active

250 VLAN0250 active


saya cek di client tidak ada tambahan vlan :

sho vlan br


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active 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, Gig0/1

Gig0/2

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active


summary :

vtp server bisa create, delete dan mendistribusikan vlan ke vtp client

vtp client hanya bisa menerima distribusi vlan dari vtp server

vtp transparent berdikari (berdisi di atas kaki sendiri :-D) buat vlan sendiri, hapus sendiri tidak mempengaruhi client dan server dan tidak mendistribusikan vlan switch manapun.



#ccnpjourney #achievement #2021 


Comments