How do I configure a port to access two vlans?
nice343
Member Posts: 391
in CCNA & CCENT
I know
switchport access vlan "number"is used to assign a port to a vlan. But what if I want a port to belong to two vlans, how do I do it?
My daily blog about IT and tech stuff
http://techintuition.com/
http://techintuition.com/
Comments
-
iowatech Member Posts: 120If I remember correctly that would mean you would need 802.1q compliant hardware that allows port tagging to be enabled.
If you do then your answer is: Setup port tagging. -
malcybood Member Posts: 900 ■■■□□□□□□□A single switch port can only be assigned to one VLAN.
In order to communicate between 2 different VLANs you would need to introduce a layer 3 device, (layer 3 switch or a router) with an IP Plus IOS on it and configure the lab for "router on a stick" inter-VLAN routing. -
iowatech Member Posts: 120A single switch port can only be assigned to one VLAN.
Are you (above poster) talking about access ports by chance?
An access port belongs to and carries the traffic of only one VLAN (unless it is configured as a voice VLAN port). Traffic is received and sent in basic formats with no VLAN tagging. -
mikej412 Member Posts: 10,086 ■■■■■■■■■■nice343 wrote:But what if I want a port to belong to two vlans, how do I do it?
You can setup an auxiliary vlan on CatOS or a voice vlan on IOS if you want to support both a data vlan and voice vlan on a port.
Otherwise you setup the port as a trunk port and configure it only allow the VLANs you want.:mike: Cisco Certifications -- Collect the Entire Set!