10-30-2014 12:03 AM - edited 03-07-2019 09:18 PM
Hello. I have got a question concerning vlan's.
I got an access port configured like this:
interface GigabitEthernet1/0/23
description "User"
switchport access vlan 13
switchport mode access
Now i want that users could also connect to this in vlan 10. Something like "switchport access vlan 10 + 13"
Is there a way to have mulit vlans in an access port or is it not possible?
Thanks you for you answers
Solved! Go to Solution.
10-30-2014 04:49 AM
The one possibility not mentioned in the other answers is dynamic VLAN assignment with 802.1x. If you have users authenticating via 802.1x, you can change the VLAN assignment based upon the user. If user x logs in, he's attached to VLAN A but if user y logs in, he'll be attached to VLAN B. This may or may not be applicable to your specific requirements and configuration.
10-30-2014 03:17 AM
If you're going to be using it for voice, you can do:
int g1/0/23
switchport mode access
switchport access vlan 13
switchport voice vlan 10
If you're wanting to use it for data, you'll need to trunk the port. You cannot have two untagged vlans on the port.
HTH,
John
10-30-2014 04:35 AM
As John said at any given point of time a single port when it is configured as "Access" will be part of only one vlan. Except the one concept of voice vlan were you will see two vlans (Voice and data) is configured on the same port.
But other than that you cant do or have multiple vlans configured on single port.
You need to use the trunk port which is used to carry multiple vlans across the switch.
HTH
regards
inayath
10-30-2014 04:49 AM
The one possibility not mentioned in the other answers is dynamic VLAN assignment with 802.1x. If you have users authenticating via 802.1x, you can change the VLAN assignment based upon the user. If user x logs in, he's attached to VLAN A but if user y logs in, he'll be attached to VLAN B. This may or may not be applicable to your specific requirements and configuration.
10-30-2014 07:20 AM
So i understand that it is not possible to have mutliple vlans on an access port.
Could you tell me how to configure these user specific dynamic vlan konfiguration?
Because i have the request of using one port for two different vlans. Because there is only one port for the user to get access to the network. But they have to get access to 2 different vlans.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide