Solved

Muti-Vlan configure on cisco switch problem

Posted on 2014-01-15
5
587 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

16 Experts available now in Live!

Get 1:1 Help Now