06 Configure VLAN with Cisco switch




Why is VLAN utilised and what does it mean?


A logical grouping of devices connected to a single Ethernet segment is called a virtual local area network, or VLAN. By lowering the quantity of broadcast domains for each network device and subnet, it benefits networks. And because of this, different networks can coexist peacefully with one another on the same physical infrastructure.



This environment we configure port2 as Manage vlan 30,40

Network chose Interface select  port3 and click Edit dialog box


Ok

Now we create vlan 30

               Network chose Interface click Create New dialog box chose Interface



Result


Now we create vlan 40

Network chose Interface click Create New dialog box chose Interface



Create zone to manage vlan 30,40

Network chose Interface click Create New dialog box chose Zone


Configure Vlan 30 and  40 can access each other

Enter Policy & Object select Firewall Policy click Create New dialog box


 

Allow Vlan 30 and 40 to Internet

Enter Policy & Object select Firewall Policy click Create New dialog box

This point we need to  vlan 30 and 40 access to Internet so at Incoming Interface need select vlan 30 and 40 and Outgoing Interface select port WAN because vlan 30 and 40 access Internet via port WAN and option NAT turn on it to translate local ip to public ip, Please follow like image below.


Configure Cisco Switch

               Change Name

                              Core_Switch>enable

                              Core_Switch#configure terminal

                              Core_Swithc(config)#hostname Core_Switch

Core_Swithc(config)#end

Configure Trunk on interface g0/0

                              Core_Switch>enable

                              Core_Switch#configure terminal

                              Core_Switch(config)#interface g0/0

                              Core_Switch(config-if)#switchport trunk encapsulation dot1q

                              Core_Switch(config-if)#switchport mode trunk

                              Core_Switch(config-if)#no shutdown

                              Core_Switch#show ip interface brief

                              Core_Switch#show interfaces trunk

        Switch Port g0/1 to VLAN 30

                           Core_Switch(config)#interface g0/1

                          Core_Switch(config-if)#switchport mode access

                          Core_Switch(config-if)#switchport access vlan 30

                          Core_Switch(config-if)#no shutdown

                          Core_Switch(config-if)#exit

 

        Switch Port g0/2 to VLAN 40

                       Core_Switch(config)#interface g0/2

                       Core_Switch(config-if)#switchport mode access

                       Core_Switch(config-if)#switchport access vlan 40

                       Core_Switch(config-if)#no shutdown

                      Core_Switch(config-if)#exit

 Testing vlan 30,40 to Internet



Testing vlan 30 to 40 and 40 to 30



Videos Guidline



Post a Comment

Previous Post Next Post

Contact Form