Solved

VLAN Config

Posted on 2015-01-20
8
199 Views
Last Modified: 2015-01-22
Hello,

I am wanting to move some ports to our management vlan on a couple of our switches.  I am a little rusty at this as I have not done this in a number of years.  We are using Cisco Catalyst 2960-X Series switches.  That parts I am not remembering is if the switches have to have the vlans defined on the switches or is that done at the router, or both?

Thanks,
Mike
0
Comment
Question by:cheesebugah
[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
8 Comments
 
LVL 5

Accepted Solution

by:
CoSmismgr earned 500 total points
ID: 40560677
VLANS will need to be created on the switches and whichever device will be handling the VLAN routing
for the switch:

To add a port to a vlan (100 for example):

configure terminal
int f0/17
switchport mode access
switchport access VLAN 100

Open in new window

0
 

Author Comment

by:cheesebugah
ID: 40560931
How would I move an interface from one vlan to another?
0
 

Author Comment

by:cheesebugah
ID: 40560932
I am familiar with Foundry and Brocade commands, not Cisco.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Assisted Solution

by:CoSmismgr
CoSmismgr earned 500 total points
ID: 40560943
To remove a port from a VLAN:

config t
interface x/x
no switchport access vlan 100

Open in new window


And add it to a different VLAN

switchport access vlan 110

Open in new window

0
 
LVL 17

Expert Comment

by:lruiz52
ID: 40560947
to move interface into a vlan type in the commands that CoSmismgr listed.
0
 

Author Comment

by:cheesebugah
ID: 40560956
What is switchport mode access?  I do not see that on any of the other interfaces on the switch.
0
 
LVL 3

Expert Comment

by:Dimitris Ioakimoglou
ID: 40560971
"switchport mode access" means you set your physical port to only pass untagged traffic of a certain vlan.  If you don't see it on your conf, it's probably meant as a default setting on 2960 ports. However, your ports are either access or trunk, so this command is there whether you see it or not.

The commands CoSmismgr posted above are what you need. Remove the acces attribute from the existing vlan and set another one for your new vlan.
0
 

Author Closing Comment

by:cheesebugah
ID: 40565215
Thank you very much.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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…

733 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