Solved

Muti-Vlan configure on cisco switch problem

Posted on 2014-01-15
5
589 Views
Last Modified: 2014-01-16
Hi All


        i have a problem of configuring mutli-vlan on cisco 2960s Switch, when i perform below command, all the switch port 1 - 23 will assigned to vlan 100, how do i perform vlan 1 & 100 together assigned on switch port from 1 - 23 ?

int range Gi1/0/1 - 23
switchport access vlan 100


Keith
0
Comment
Question by:piaakit
  • 2
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 167 total points
ID: 39782134
You can't have two VLANs on an access port.

You can make a trunk that only allows two VLANs.

int range Gi1/0/1 - 23
switchport trunk allowed vlan 1, 100
switchport mode trunk

In this case, VLAN 1 is the native (or untagged) VLAN.
0
 
LVL 6

Assisted Solution

by:Jordan Medlen
Jordan Medlen earned 167 total points
ID: 39782257
What is the reason you need both VLANs on each of those switchports simultaneously?
0
 
LVL 25

Assisted Solution

by:Cyclops3590
Cyclops3590 earned 166 total points
ID: 39782886
the only exception to the single vlan on an access port is when you're using a voice vlan configuration.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 39783196
A voice VLAN configuration is still a two VLAN trunk. It's just that it can be accomplished with different commands.
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39783307
donjohnston, yes i agree, but you don't configure it as a trunk.  to me, its like the exception that proves the rule.  i agree its a trunk port, but the configuration looks like an access port.  that is what I was referring to.  but yes, access ports by definition are a single vlan only

EDIT: forgive me if I caused confusion with my statement
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

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…
I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

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