Untuk membuat VLAN pada switch Cisco kita menggunakan perintah vlan.
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name IT
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name BOD
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name SALES
Switch(config-vlan)#vlan 40
Switch(config-vlan)#name FINANCE
Switch(config-vlan)#vlan 50
Switch(config-vlan)#name PROD
Switch(config-vlan)#exit
Switch(config)#exit
Switch#
untuk menampilkan informasi yang telah dibuat gunakan perintah show vlan
Switch#show vlan
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 IT active
20 BOD active
30 SALES active
40 FINANCE active
50 PROD 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
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
50 enet 100050 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
------- --------- ----------------- ------------------------------------------
Setelah itu masukan port untuk masing-masing vlan menggunakan perintah switchport.
Switch(config)#interface fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#
Kalau ingin beberapa port sekaligus bisa gunakan interface range
Switch(config)#interface range fa0/5-8
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
Switch(config)#exit
Hasilnya kamu bisa lihat menggunakan perintah show vlan
Switch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, 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 IT active Fa0/1
20 BOD active Fa0/5, Fa0/6, Fa0/7, Fa0/8
30 SALES active
40 FINANCE active
50 PROD 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
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
50 enet 100050 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
------- --------- ----------------- ------------------------------------------
Switch#
tutorial lengkapnya bisa kamu lihat di video link ini ya: https://youtu.be/L1ypfjX0Boo
For another IT Tutorial, see the links below :
1. Cloud Computing : https://bukutrainingns.blogspot.com/2020/01/kumpulan-tutorial-belajar-cloud.html
2. Web : https://bukutrainingns.blogspot.com/2020/02/kumpulan-tutorial-belajar-web.html
3. Server Hardware : https://bukutrainingns.blogspot.com/2020/01/kumpulan-tutorial-belajar-server.html
4. Data Center : https://bukutrainingns.blogspot.com/2020/01/kumpulan-tutorial-belajar-data-center.html
5. Veritas Backup Exec : https://bukutrainingns.blogspot.com/2020/01/kumpulan-tutorial-belajar-veritas.html
6. Windows Server 2012R2 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-windows.html
7. Windows Server 2016 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-windows_6.html
8. Windows Server 2019 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-windows_19.html
9. Active Directory : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-active.html
10. Exchange Server 2013 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-exchange.html
11. Exchange Server 2016 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-exchange_9.html
12. Exchange Server 2019 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-exchange_20.html
13. Linux Ubuntu : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-linux-ubuntu.html
14. Linux RedHat : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-linux-redhat.html
15. Linux CEntOS : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-linux-centos.html
16. Cisco : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-cisco.html
17. Mikrotik : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-router.html
18. Hyper-V : https://bukutrainingns.blogspot.com/2019/12/belajar-hyper-v-kumpulan-tutorial.html
19. SQL Server 2014 : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-sql-server.html
20. Jobs dan Career : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-karir-dunia-teknologi.html
21. Microsoft Office Word : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-microsoft.html
22. VMWare VSphere : https://bukutrainingns.blogspot.com/2019/12/kumpulan-tutorial-belajar-vmware-vsphere.html
Buat kamu yang mau belajar Sertifikasi Internasional bisa lihat kumpulan tutorialnya disini:
1. CompTIA : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi.html
2. Cisco : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_8.html
3. Oracle : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_9.html
4. Microsoft : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_10.html
5. MikroTik : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_11.html
6. VMWare : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_12.html
7. FortiNet : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_16.html
8. EC Council : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_17.html
9. Juniper : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-belajar-sertifikasi_22.html
10. RedHat : https://bukutrainingns.blogspot.com/2020/06/kumpulan-tutorial-sertifikasi-linux.html
https://bukutrainingns.blogspot.com/
For IT Tutorial Videos see my YouTube Channels:
https://youtube.com/c/NanangSadikinOfficial
See you again.
Regards
Nanang
Comments
Post a Comment