Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

New VLAN on Two Cisco 2960's

Posted on 2013-01-22
6
Medium Priority
?
475 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 2000 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

There are times where you would like to have access to information that is only available from a different network. This network could be down the hall, or across country. If each of the network sites have access to the internet, you can create a ne…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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…

704 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