
Topology overview: Laptop_1, Laptop_2, Laptop_3 and Laptop_4 are connected to Switch_1 on port f0/6, f0/7, f0/8 and f0/9 respectively.
f0/5 on Switch_1 which is connected to Switch_2 on f0/13 would be the trunk port.
Laptop_5, Laptop_6, Laptop_7 and Laptop_8 are connected to Switch_2 on port f0/9, f0/10, f0/11 and f0/12 respectively.
These are the commands to configure VLAN for Switch_1
Switch#configure terminal
Switch(config)#hostname Switch_1
Switch_1(config)#vlan 20
Switch_1(config-vlan)#do show vlan
Switch_1(config-vlan)#do show vlan
Switch_1(config-vlan)#exit
Switch_1(config)#vlan 30
Switch_1(config-vlan)#name HR
Switch_1(config-vlan)#do show vlan
Switch_1(config-vlan)#exit
Switch_1(config)#interface fastEthernet 0/6
Switch_1(config-if)#switchport mode ?
Switch_1(config-if)#switchport mode access
Switch_1(config-if)#switchport access vlan 20
Switch_1(config-if)#exit
Switch_1(config)#interface fastEthernet 0/7
Switch_1(config-if)#switchport mode access
Switch_1(config-if)#switchport access vlan 20
Switch_1(config-if)#interface fastEthernet 0/8
Switch_1(config-if)#switchport mode access
Switch_1(config-if)#switchport access vlan 30
Switch_1(config-if)#interface fastEthernet 0/9
Switch_1(config-if)#switchport mode access
Switch_1(config-if)#switchport access vlan 30
Switch_1(config-if)#do show vlan
Switch_1(config-if)#end
Switch_1#show interfaces trunk
Switch_1#configure terminal
Switch_1(config)#interface fastEthernet 0/5
Switch_1(config-if)#switchport mode trunk
Switch_1(config-if)#end
Switch_1#show interface trunk
These are the commands to configure VLAN for Switch_2
Switch_2(config)#vlan 20
Switch_2(config-vlan)#name IT
Switch_2(config-vlan)#exit
Switch_2(config)#vlan 30
Switch_2(config-vlan)#name HR
Switch_2(config-vlan)#exit
Switch_2(config)#interface fastethernet 0/9
Switch_2(config-if)#switchport mode access
Switch_2(config-if)#switchport acces
Switch_2(config-if)#switchport access vlan 20
Switch_2(config-if)#interface fastethernet 0/10
Switch_2(config-if)#switchport mode access
Switch_2(config-if)#switchport access vlan 20
Switch_2(config-if)#interface fastethernet 0/11
Switch_2(config-if)#switchport mode access
Switch_2(config-if)#switchport access vlan 30
Switch_2(config-if)#interface fastethernet 0/12
Switch_2(config-if)#switchport mode access
Switch_2(config-if)#switchport access vlan 30
Switch_2(config-if)#interface fastethernet 0/13
Switch_2(config-if)#switchport mode trunk
Switch_2(config-if)#do show vlan
Final output : after configuring both switches provide IP addresses to all laptops as shown in the topology. and you should be able to ping into same VLAN. you shouldn't be able to ping between VLANs because we havn't yet configured inter vlan routing.
I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.
ReplyDeletewww.oceanictuna.co.uk |
It is very helpful for all the people on the web.I wanted to say that it's nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere.
ReplyDeletejerryallentraveljets |
It was a positive conversation and each day since then he has made an effort to come and speak to her about his success of the day.
ReplyDeletewww.wizzjobs.biz |
You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site.
ReplyDeletehometownpenske.com |
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
ReplyDeleteloire-forez-tourism |
Hey there thanks for showing me this. I must say that your blogpost was the most enjoying read I've seen in a long time. Greetings from personal trainer berlin
ReplyDeletepizzabootcamp |
Hello, i am glad to read the whole content of this blog and am very excited and happy to say that the webmaster has done a very good job here to put all the information content and information at one place.
ReplyDeletehttp://www.wirelessronin.net |
They are now so popular. I am now bookmarked to this site. I am happy to be one of their community.
ReplyDeletebusinesssosbook |
I have to do a report for our school magazine on this topic, and your blog has been beneficial. Can you please add more reference to this point, thanks
ReplyDeletepremfood24 |
I really loved reading your blog. It was very well authored and easy to understand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he enjoyed it as well
ReplyDeleteBusiness Jet People |
I research and encounter at home. Thanks the developers for a amazing resource..!
ReplyDeletekeepyourprofit.com |
Hey there! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a extraordinary job!
ReplyDeletethesmartechs |
true religion jeans
ReplyDeletembt outlet
fila shoes outlet
true religion outlet online
nike sb stefan janoski
curry 3 shoes
ralph lauren polo outlet
longchamp outlet
nike air max 90
ray ban glasses
2017.3.2chenlixiang
air max
ReplyDeletehollister clothing
air max
air max 90
hermes bags
kd 8 shoes
michael kors
air max 90
pandora jewelry
cheap ray ban sunglasses
170602yueqin