VTP
VTP adalah adalah suatu
protokol untuk mengenalkan suatu atau sekelompok VLAN yang telah ada agar dapat
berkomunikasi dengan jaringan. Atau menurut sumber lain mengatakan suatu metoda
dalam hubungan jaringan LAN dengan ethernet untuk menyambungkan komunikasi
dengan menggunakan informasi VLAN, khususnya ke VLAN.
VLAN Trunking Protocol
(VTP) merupakan fitur Layer 2 yang terdapat pada jajaran switch Cisco Catalyst,
yang sangat berguna terutama dalam lingkungan switch skala besar yang
meliputi beberapa Virtual Local Area Network (VLAN).
1. Router:
Router>enable
Router#conf t
Router(config)#int f0/0
Router(config-if)#no shut
Router(config)#int f0/0.10
Router(config-subif)#encapsulation
dot1q 10
Router(config-subif)#ip add
192.168.1.100 255.255.255.0
Router(config-subif)#int
f0/0.20
Router(config-subif)#encaps
dot1q 20
Router(config-subif)#ip add
192.168.2.100 255.255.255.0
Router(config-subif)#exit
2. SWITCH
VTP (Server)
Switch>enable
Switch#conf t
Switch(config)#hostname
IDN-SERVER
IDN-SERVER(config)#vlan 10
IDN-SERVER(config-vlan)#name FT
IDN-SERVER(config-vlan)#vlan 20
IDN-SERVER(config-vlan)#name FMIPA
IDN-SERVER(config-vlan)#exit
IDN-SERVER(config)#int range
f0/1-2
IDN-SERVER(config-if-range)#sw
mode access
IDN-SERVER(config-if-range)#sw
access vlan 10
IDN-SERVER(config-if-range)#exit
IDN-SERVER(config)#int range
f0/3-4
IDN-SERVER(config-if-range)#sw
mode access
IDN-SERVER(config-if-range)#sw
access vlan 20
IDN-SERVER(config-if-range)#exit
IDN-SERVER(config)#int
f0/5
IDN-SERVER(config-if)#sw
mode trunk
IDN-SERVER(config-if)#sw
trunk encaps dot1q
IDN-SERVER(config)#int
f0/6
IDN-SERVER(config-if)#sw
mode trunk
- Membuat
VTP Server
IDN-SERVER(config)#vtp mode server
Device mode already VTP SERVER.
IDN-SERVER(config)#vtp version 2
IDN-SERVER(config)#vtp domain idn.id
Domain name already set to
idn.id
IDN-SERVER(config)#vtp password uvnpass
Setting device VLAN database password to uvnpass
3. SWITCH
Lantai 1 VTP (Client)
Switch>enable
Switch#conf t
Switch(config)#hostname
IDN-Lantai1
IDN-Lantai1(config)#int fa0/1
IDN-Lantai1(config-if)#sw mode trunk
IDN-Lantai1(config-if)#int
fa0/4
IDN-Lantai1(config-if)#sw mode
trunk
IDN-Lantai1(config-if)#
- Membuat
VTP Client
IDN-Lantai1(config)#vtp mo client
Setting device to VTP CLIENT
mode.
IDN-Lantai1(config)#vtp domain idn.id
Domain name already set to
idn.id.
IDN-Lantai1(config)#vtp pass uvnpass
Setting device VLAN database password to uvnpass
4. SWITCH
Lantai 2 VTP (Client)
Switch>enable
Switch#conf t
Enter configuration commands,
one per line. End
with CNTL/Z.
Switch(config)#hostname
IDN-LANTAI2
IDN-LANTAI2(config)#int f0/1
IDN-LANTAI2(config-if)#sw mode
trunk
- Membuat
VTP Client
IDN-LANTAI2(config-if)#vtp mo client
Setting device to VTP CLIENT
mode.
IDN-LANTAI2(config)#vtp domain idn.id
Domain name already set to
idn.id.
IDN-LANTAI2(config)#vtp pass uvnpass
Setting device VLAN database password to uvnpass
#. VERYFIKASI
a. SWITCH
Lantai 1 (Client)
IDN-Lantai1(config)#do sh vlan
VLAN
Name Status Ports
---- --------------------------------
--------- -------------------------------
1 default active Fa0/2,
Fa0/3, 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
10 FT active
20 FMIPA active
1002
fddi-default act/unsup
1003
token-ring-default act/unsup
1004
fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent
RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- -----
------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet
101004 1500 - - - ieee - 0 0
1005 trnet
101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary
Type Ports
------- --------- -----------------
------------------------------------------
Di atas VLAN 10 dan 20 sudah terSynkron kan, tinggal memasukkan
Port interface pada VLAN tersebut sesuai dengan topology.
IDN-Lantai1(config)#int f0/2
IDN-Lantai1(config-if)#sw mode
access
IDN-Lantai1(config-if)#sw
access vlan 10
IDN-Lantai1(config-if)#int f0/3
IDN-Lantai1(config-if)#sw mode
access
IDN-Lantai1(config-if)#sw access vlan 20
Sekarang coba tambahkan VLAN 30 (FISIP), 40 (FE), 50 (FKM) di SWITCH Server, maka lihat hasilnya pada SWITCH Lantai 2
(Client):
IDN-SERVER(config)#vlan 30
IDN-SERVER(config-vlan)#name FISIP
IDN-SERVER(config-vlan)#vlan 40
IDN-SERVER(config-vlan)#name FE
IDN-SERVER(config-vlan)#vlan 50
IDN-SERVER(config-vlan)#name FKM
b. SWITCH
Lantai 2 (Client)
IDN-LANTAI2#sh vlan
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
10 FT active
20 FMIPA active
30 FISIP active
40 FE active
50 FKM active
1002 fddi-default act/unsup
1003
token-ring-default act/unsup
1004
fddinet-default act/unsup
1005
trnet-default act/unsup
Tidak ada komentar:
Posting Komentar