Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VLAN Config

Posted on 2015-01-20
8
Medium Priority
?
214 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 2000 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
Independent Software Vendors: 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 2000 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

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

926 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