Description:
In this comprehensive tutorial, we delve into the world of VLAN configuration on Cisco routers and switches, a fundamental skill for any aspiring network engineer or IT professional preparing for their CCNA certification. Join us as we guide you through the step-by-step process of setting up Virtual LANs (VLANs) on both Cisco routers and switches, exploring key concepts such as trunking, VLAN membership, VLAN assignment, and inter-VLAN routing. Whether you're new to networking or looking to deepen your understanding, this tutorial provides clear explanations and practical demonstrations to help you master VLAN configuration in Cisco environments. Don't miss out on this essential knowledge – hit play now and elevate your networking skills to the next level!
Keywords: CCNA, Cisco, VLAN configuration, router, switch, trunking, VLAN membership, inter-VLAN routing, networking tutorial, IT certification prep.
Feel free to customize it further to better suit your video and audience!
Switch enable
Switch#configure terminal
Switch(config)#hostname SW1
SW1(config)#NO IP DOMAIN-Lookup
SW1(config)#LINE CONsole 0
SW1(config-line)#EXEC-Timeout 0
SW1(config-line)#END
SW1#
%SYS-5-CONFIG_I: Configured from console by console
SW1#WRITE
Building configuration...
[OK]
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 10
SW1(config-vlan)#name IT
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name ACCOUNT
SW1(config-vlan)#exit
SW1(config)#vlan 30
SW1(config-vlan)#name ADMIN
SW1(config-vlan)#end
SW1#
%SYS-5-CONFIG_I: Configured from console by console
SW1#write
Building configuration...
[OK]
SW1#configure terminal
SW1(config)#interface range fastEthernet 0/1-3
SW1(config-if-range)#switchport mode access
SW1(config-if-range)#switchport access vlan 10
SW1(config-if-range)#exit
SW1(config)#interface range fastEthernet 0/4-6
SW1(config-if-range)#switchport mode access
SW1(config-if-range)#switchport access vlan 20
SW1(config-if-range)#exit
SW1(config)#interface range fastEthernet 0/7-9
SW1(config-if-range)#switchport mode access
SW1(config-if-range)#switchport access vlan 30
SW1(config-if-range)#end
SW1#
%SYS-5-CONFIG_I: Configured from console by console
SW1#
SW1#write
Building configuration...
[OK]
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface fastEthernet 0/10
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk allowed vlan all
SW1(config-if)#end
SW1#write
Building configuration...
[OK]
=================================================================
SW2#configure terminal
SW2(config)#vlan 10
SW2(config-vlan)#name IT
SW2(config-vlan)#exit
SW2(config)#vlan 20
SW2(config-vlan)#name ACCOUNT
SW2(config-vlan)#exit
SW2(config)#vlan 30
SW2(config-vlan)#name ADMIN
SW2(config-vlan)#end
SW2#write
Building configuration...
[OK]
SW2#configure terminal
SW2(config)#interface range fastEthernet 0/2-4
SW2(config-if-range)#switchport mode access
SW2(config-if-range)#switchport access vlan 10
SW2(config-if-range)#exit
SW2(config)#interface range fastEthernet 0/5-7
SW2(config-if-range)#switchport mode access
SW2(config-if-range)#switchport access vlan 20
SW2(config-if-range)#exit
SW2(config)#interface range fastEthernet 0/8-10
SW2(config-if-range)#switchport mode access
SW2(config-if-range)#switchport access vlan 30
SW2(config-if-range)#end
SW2#write
Building configuration...
[OK]
SW2#configure terminal
SW2(config)#interface fastEthernet 0/1
SW2(config-if)#switchport mode trunk
SW2(config-if)#switchport trunk allowed vlan all
SW2(config-if)#exit
SW2(config)#interface fastEthernet 0/11
SW2(config-if)#switchport mode trunk
SW2(config-if)#switchport trunk allowed vlan all
SW2(config-if)#end
SW2#write
Building configuration...
[OK]