1. Network Lab
2. Metode Lab
- Buatlah topologi dengan konfigurasi IP seperti di atas
- Buatlah VLAN10 dan VLAN20 pada masing - masing Switch
- Konfigurasikan switchport mode trunk di interface yang menghubungkan kedua switch
3. Verifikasi Lab
- Pastikan PC dengan VLAN yang sama bisa saling tes ping
- Gunakan perintah "do show vlan" untuk melihat hasil konfigurasi vlan
4. Konfigurasi
Switch0(config)#vlan 10
Switch0(config-vlan)#vlan 20
Switch0(config-vlan)#int f0/2
Switch0(config-if)#sw acc vlan 20
Switch0(config-if)#int f0/3
Switch0(config-if)#sw acc vlan 10
switch1(config-vlan)#vlan 20
switch1(config-vlan)#int f0/2
switch1(config-if)#sw acc vlan 20
switch1(config-if)#int f0/3
switch1(config-if)#sw acc vlan 10
Sekarang kita konfigurasikan mode trunk di interface yang menghubungkan kedua switch
Switch0(config)#int f0/1
Switch0(config-if)#switchport mode trunk
Switch0(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
Switch1(config)#int f0/1
Switch1(config-if)#switchport mode trunk
Switch1(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
Kita lihat konfigurasi VLAN nya dulu...
Switch0(config)#do sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active 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, Gig1/1, Gig1/2
10 VLAN0010 active Fa0/3
20 VLAN0020 active Fa0/2
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
--More--
Oke, sekarang coba lakukan tes ping antar PC yang VLAN nya sama.
1 komentar:
Sudah Teruji [Y]
Persentase: 100%
Posting Komentar