Virtual LAN (VLAN) D’Kongkow at IlmuJaringan(dot)Com (Minggu, 22 Juli 2012)
Virtual LAN Teknik memisahkan beberapa IP Network secara logika pada sebuah Switch. Dengan VLAN, Broadcast domain akan terpecah walaupun berada semua host terhubung pada sebuah Switch. Jika Tidak ada routing, komputer yang berbeda VLAN tidak dapat berkomunikasi.
Sebelum VLAN
Sesudah VLAN
Voice App.
Our Scenario VLAN 1 : /24 VLAN 2 : /24 VLAN 3 : /24
Cisco Catalyst Secara default VLAN yang terbentuk adalah VLAN1 Secara default semua port Switch menjadi anggota VLAN1. VLAN1 tidak dapat dihapus
Show VLAN Switch>enable Switch#show vlan VLAN Name Status Ports 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
Create VLAN Switch#vlan data % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. Switch(vlan)#vlan 2 VLAN 2 added: Name: VLAN0002 Switch(vlan)#vlan 3 VLAN 3 added: Name: VLAN0003 Switch(vlan)#exit APPLY completed. Exiting....
Verify VLAN Switch#show vlan VLAN Name Status Ports 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 VLAN0002 active 3 VLAN0003 active
Assign Port to VLAN Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface f0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3 Switch(config-if)#end
Assign Port to VLAN Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface f0/5 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2 Switch(config-if)#end
Verify Ports on VLAN Switch#show vlan VLAN Name Status Ports default active Fa0/2, Fa0/3, 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 VLAN0002 active Fa0/5, Fa0/6 3 VLAN0003 active Fa0/1, Fa0/4
Trunking Port Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface f0/10 Switch(config-if)#switchport mode trunk
Configuration Switch#show running-config Building configuration... interface FastEthernet0/1 switchport access vlan 3 switchport mode access ! interface FastEthernet0/2 ! interface FastEthernet0/10 switchport mode trunk
Terima Kasih More Question, send mail to Official Site on