Cara Konfigurasi VTP Pada Cisco



Saya akan menggunakan topologi diatas 

Hostname
Interface
Vlan / Mode
IP Address
Switch0
Fa0/1
Trunk
-
Fa0/2
Trunk
-
Switch1
Fa0/1
Trunk
-
Fa0/2
Vlan 10
-
Fa0/3
Vlan 20
-
Switch2
Fa0/1
Trunk
-

Fa0/2
Vlan 10
-

Fa0/3
Vlan 20
-
PC0
Fa0/2
-
200.100.10.1/29
PC1
Fa0/3
-
200.100.20.1/29
PC2
Fa0/2
-
200.100.10.1/29
PC3
Fa0/3
-
200.100.20.1/29

Langung Konfig Switch0 :

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name TKJ
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name MM
Switch(config-vlan)#exit
Switch(config)# 
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp domain kinglearn.com
Changing VTP domain name from NULL to kinglearn.com
Switch(config)#vtp pass kinglearn
Setting device VLAN database password to kinglearn
Switch(config)#
Switch(config)#int fa0/1
Switch(config-if)#sw mod tr
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Switch(config-if)#
Switch(config-if)#int fa0/2
Switch(config-if)#sw mod tr

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Switch(config-if)#do wr
Building configuration...
[OK]


Lihat Status VTP nya gan

sekarang konfigurasi Client VTPnya

Switch1 :
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#
Switch(config)#int fa0/1
Switch(config-if)#sw mod tr
Switch(config-if)#
Switch(config-if)#vtp mod client
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain kinglearn.com
Domain name already set to kinglearn.com.
Switch(config)#vtp pass kinglearn
Setting device VLAN database password to kinglearn
Switch(config)#

 Jika VTP Client Berhasil akan mendapatkan Vlannya gan

Share this

Related Posts

Previous
Next Post »