I've been trying to figure out how to achieve the outcome below.
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
232 VLAN 10 active Fa3/0/1,Fa3/0/2,Fa3/0/3,Fa3/0/4,
Fa3/0/5,Fa3/0/14,Fa3/0/15,
233 VLAN 20 active Fa3/0/1, Fa3/0/2, Fa3/0/3,
Fa3/0/4, Fa3/0/5,Fa3/0/17,
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
In short, trying to assign two VLANs to a single switchport in access mode. How is this possible?
cisco switch
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I've been trying to figure out how to achieve the outcome below.
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
232 VLAN 10 active Fa3/0/1,Fa3/0/2,Fa3/0/3,Fa3/0/4,
Fa3/0/5,Fa3/0/14,Fa3/0/15,
233 VLAN 20 active Fa3/0/1, Fa3/0/2, Fa3/0/3,
Fa3/0/4, Fa3/0/5,Fa3/0/17,
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
In short, trying to assign two VLANs to a single switchport in access mode. How is this possible?
cisco switch
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I've been trying to figure out how to achieve the outcome below.
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
232 VLAN 10 active Fa3/0/1,Fa3/0/2,Fa3/0/3,Fa3/0/4,
Fa3/0/5,Fa3/0/14,Fa3/0/15,
233 VLAN 20 active Fa3/0/1, Fa3/0/2, Fa3/0/3,
Fa3/0/4, Fa3/0/5,Fa3/0/17,
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
In short, trying to assign two VLANs to a single switchport in access mode. How is this possible?
cisco switch
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I've been trying to figure out how to achieve the outcome below.
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
232 VLAN 10 active Fa3/0/1,Fa3/0/2,Fa3/0/3,Fa3/0/4,
Fa3/0/5,Fa3/0/14,Fa3/0/15,
233 VLAN 20 active Fa3/0/1, Fa3/0/2, Fa3/0/3,
Fa3/0/4, Fa3/0/5,Fa3/0/17,
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
In short, trying to assign two VLANs to a single switchport in access mode. How is this possible?
cisco switch
cisco switch
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 44 mins ago
Samson Oduor
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 1 hour ago
Samson OduorSamson Oduor
63
63
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Samson Oduor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You simply use two commands on one interface:
interface Fa3/0/1
switchport access vlan 232
switchport voice vlan 233
switchport mode access
Then it will show up as you have listed above, when using show vlan
.
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
add a comment |
First of all an access port is by definition can only carry one Vlan.
voice vlan is used , when if its actually a voice vlan traffic needed to be carried.
so lets say both vlans 232 and 233 are Data Vlans, then the solution by Cown won't work.
You have to apply like below.
interface Fa3/0/1,
switchport mode trunk
switchport trunk allowed vlan 232,233
end
Now , Trunk mode is used carry multiple vlans (Vlan tagging).
If you don't specify the "allowed vlan" by default all the vlans created on the switch will be tagged on this interface.
And if the vlan 233 is voice vlan (used to connect IPphones) the solution by Cown , is Correct.
Please ask if any clarifications needed.
Regards,
Hazif Ismail
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "496"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Samson Oduor is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57725%2fassigning-a-single-switchport-to-different-vlans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You simply use two commands on one interface:
interface Fa3/0/1
switchport access vlan 232
switchport voice vlan 233
switchport mode access
Then it will show up as you have listed above, when using show vlan
.
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
add a comment |
You simply use two commands on one interface:
interface Fa3/0/1
switchport access vlan 232
switchport voice vlan 233
switchport mode access
Then it will show up as you have listed above, when using show vlan
.
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
add a comment |
You simply use two commands on one interface:
interface Fa3/0/1
switchport access vlan 232
switchport voice vlan 233
switchport mode access
Then it will show up as you have listed above, when using show vlan
.
You simply use two commands on one interface:
interface Fa3/0/1
switchport access vlan 232
switchport voice vlan 233
switchport mode access
Then it will show up as you have listed above, when using show vlan
.
edited 1 min ago
answered 56 mins ago


CownCown
6,55931031
6,55931031
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
add a comment |
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
1
1
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
Just to be clear, when you enter these commands, you have created a VLAN trunk (although Cisco doesn't like to call it that). VLAN 232 will be untagged (native) and 233 will be tagged.
– Ron Trunk
4 mins ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk huh? it's an access port!
– Cown
1 min ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
@RonTrunk by the way, OP already wrote, that it is an access port, so i assumed i didn't have to write that.
– Cown
13 secs ago
add a comment |
First of all an access port is by definition can only carry one Vlan.
voice vlan is used , when if its actually a voice vlan traffic needed to be carried.
so lets say both vlans 232 and 233 are Data Vlans, then the solution by Cown won't work.
You have to apply like below.
interface Fa3/0/1,
switchport mode trunk
switchport trunk allowed vlan 232,233
end
Now , Trunk mode is used carry multiple vlans (Vlan tagging).
If you don't specify the "allowed vlan" by default all the vlans created on the switch will be tagged on this interface.
And if the vlan 233 is voice vlan (used to connect IPphones) the solution by Cown , is Correct.
Please ask if any clarifications needed.
Regards,
Hazif Ismail
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
First of all an access port is by definition can only carry one Vlan.
voice vlan is used , when if its actually a voice vlan traffic needed to be carried.
so lets say both vlans 232 and 233 are Data Vlans, then the solution by Cown won't work.
You have to apply like below.
interface Fa3/0/1,
switchport mode trunk
switchport trunk allowed vlan 232,233
end
Now , Trunk mode is used carry multiple vlans (Vlan tagging).
If you don't specify the "allowed vlan" by default all the vlans created on the switch will be tagged on this interface.
And if the vlan 233 is voice vlan (used to connect IPphones) the solution by Cown , is Correct.
Please ask if any clarifications needed.
Regards,
Hazif Ismail
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
First of all an access port is by definition can only carry one Vlan.
voice vlan is used , when if its actually a voice vlan traffic needed to be carried.
so lets say both vlans 232 and 233 are Data Vlans, then the solution by Cown won't work.
You have to apply like below.
interface Fa3/0/1,
switchport mode trunk
switchport trunk allowed vlan 232,233
end
Now , Trunk mode is used carry multiple vlans (Vlan tagging).
If you don't specify the "allowed vlan" by default all the vlans created on the switch will be tagged on this interface.
And if the vlan 233 is voice vlan (used to connect IPphones) the solution by Cown , is Correct.
Please ask if any clarifications needed.
Regards,
Hazif Ismail
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
First of all an access port is by definition can only carry one Vlan.
voice vlan is used , when if its actually a voice vlan traffic needed to be carried.
so lets say both vlans 232 and 233 are Data Vlans, then the solution by Cown won't work.
You have to apply like below.
interface Fa3/0/1,
switchport mode trunk
switchport trunk allowed vlan 232,233
end
Now , Trunk mode is used carry multiple vlans (Vlan tagging).
If you don't specify the "allowed vlan" by default all the vlans created on the switch will be tagged on this interface.
And if the vlan 233 is voice vlan (used to connect IPphones) the solution by Cown , is Correct.
Please ask if any clarifications needed.
Regards,
Hazif Ismail
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 11 mins ago


HAZIF ISMAILHAZIF ISMAIL
112
112
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
HAZIF ISMAIL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Samson Oduor is a new contributor. Be nice, and check out our Code of Conduct.
Samson Oduor is a new contributor. Be nice, and check out our Code of Conduct.
Samson Oduor is a new contributor. Be nice, and check out our Code of Conduct.
Samson Oduor is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57725%2fassigning-a-single-switchport-to-different-vlans%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown