Solved

VLAN Config

Posted on 2015-01-20
8
194 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
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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSH logs Cisco switch 4 33
recover cisco router password 5 38
Trunk port configuration for Wireless VLANs 11 58
iPad Won't Connect 16 42
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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