Solved

New VLAN on Two Cisco 2960's

Posted on 2013-01-22
6
470 Views
Last Modified: 2013-01-22
Hello All,


I want to create a VLAN that encompasses four ports, two on each of my brand new Cisco 2960 switches.

I have already created the same VLAN on both switches and assigned it to ports 21 and 22 on both:

vlan database
vlan 10 name studio

on interface 21 and 22 I issued:

switchport access vlan 10

When I show vlan I see vlan 10 and ports 21 and 22 assigned on each switch.

At this point two computers hooked up to ports 21 and 22 should see each other correct?  I cannot get a ping response though. That is issue one. Maybe a computer problem as one of them may be flaky but I want to confirm that the config above is correct.

The second part is trunking between the two switches and how vlan info is carried on that. At this point I have two interfaces 23 and 23 trunked to the other switch.  When I do a show interface trunk it shows the two interfaces, they are both trunking, have 802.1q active , have the default vlan 1 as native and say they are trunking all vlans. I set them up with this basic command on each interface, nothing more:

switchport mode trunk

Is this sufficient to allow vlan 10 on both switches to communicate?


Thanks in advance.
0
Comment
Question by:Primedius
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 25

Accepted Solution

by:
Ken Boone earned 500 total points
ID: 38805358
Yes - but on the 2960 switches you don't need to go into vlan database to set up the vlans anymore.

config t
vlan 10
name studio

That all it should take.

Issue the command show vlan to make sure the vlans exist on each switch

Do a show interface status command and make sure all of the ports you are using are in a connected or trunked state.
0
 

Author Comment

by:Primedius
ID: 38805365
So my setup is sound?

Ok, I will test again shortly.
0
 
LVL 25

Expert Comment

by:Ken Boone
ID: 38805525
One thing to add..

You might be testing too quickly..

On your access ports for the PCs add this command:

spanning-tree portfast

This allows the ports to skip the first 2 stages of spanning tree on the port.  These stages take 30 secs and no traffic can be sent out the port during that time.  Add those commands to the access port.

But yes your config is sound.
0
Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

 

Author Comment

by:Primedius
ID: 38805546
So I add this command to  access ports 21 and 22 on both switches which are part of this vlan?

Not the trunk?
0
 
LVL 25

Expert Comment

by:Ken Boone
ID: 38805605
that is correct.. that means those two ports should come right up.  Which means 2 PCs within the same switch on that vlan should be able to communicate.  If they can't you have a definite PC problem.

Then the trunk port will take 30 seconds to come up due to spanning-tree.  Once they are up you should be able to ping across the 2 switches on that vlan
0
 

Author Closing Comment

by:Primedius
ID: 38808414
Works like  charm.  Thanks for your help.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditors face some challenges when reviewing router and firewall configurations.  I'm going to discuss a few of them in this article.  My assumption is that there is a device hardening standard in place, which points out the key elements of configur…
AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question