Solved

New VLAN on Two Cisco 2960's

Posted on 2013-01-22
6
465 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
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…

770 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