VLAN Config

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
cheesebugahAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CoSmismgrConnect With a Mentor Commented:
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
 
cheesebugahAuthor Commented:
How would I move an interface from one vlan to another?
0
 
cheesebugahAuthor Commented:
I am familiar with Foundry and Brocade commands, not Cisco.
0
Turn Raw Data into a Real Career

There’s a growing demand for qualified analysts who can make sense of Big Data. With an MS in Data Analytics, you can become the data mining, management, mapping, and munging expert that today’s leading corporations desperately need.

 
CoSmismgrConnect With a Mentor Commented:
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
 
lruiz52Commented:
to move interface into a vlan type in the commands that CoSmismgr listed.
0
 
cheesebugahAuthor Commented:
What is switchport mode access?  I do not see that on any of the other interfaces on the switch.
0
 
Dimitris IoakimoglouNetwork AdministratorCommented:
"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
 
cheesebugahAuthor Commented:
Thank you very much.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.