Cisco – How to assign single port into multiple vlans

ciscoiosswitch

I have cisco switch 3560 and want to create vlans where in i can have a single port in multiple vlans. I tried creating one port e.g fa0/23 as trunk and then allowed it through multiple vlans but it doesnt work. The said port fa0/23 is not traceable through vlans.

**Example of what i am looking to establish.
Vlan 1  : fa0/1 , fa0/2 , fa0/23
vlan 2 : fa0/3, fa0/4,fa0/23
vlan 3 : fa0/5,fa0/6,fa0/23**

The Switchport multi command is not working on this switch which i always execute on cisco catalys 3500xl

Best Answer

Probably you already know this, but I'm pointing it out anyway.

As Radius said, you can configure a single port in trunk mode; but this means tagged 802.1q Ethernet frames will be sent to that port, so you will need to connect to it something which can succesfully decode and detag them (like a trunk port on another switch, or a trunk port on a ESX host).

You will not be able to simply connect a computer's NIC to that port and have it connect succesfully to any one of those three VLANs. That would require 802.1q support on the computer itself.