Solved

New VLAN on Two Cisco 2960's

Posted on 2013-01-22
6
461 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
  • 3
  • 3
6 Comments
 
LVL 24

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 24

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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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 24

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now