cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
216950
Views
12
Helpful
31
Replies
Highlighted
Beginner

Can we assign multiple Vlans to same physical switch port-Access Port

Hi,

We are having L2 Vlans on our switch and there is a requirement of assigning multiple VLANs to same physical switch port-Access port. We will be terminating server over this port having multiple applications.

Thanks

31 REPLIES 31
Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Ac

If you need to have more than one vlan on this port, then this will become a trunk where you have multiple vlans and the traffic will be distinguished by adding the vlan tag to it

Sent from Cisco Technical Support iPhone App

Highlighted
Beginner

Hi guys,i know this is too

Hi guys,
i know this is too late reply, but i wonder What if we say like this:
!

interface FastEthernet0/11
 switchport trunk allowed vlan 10,20
 switchport mode access
 switchport voice vlan 30
!

Highlighted
Cisco Employee

Re: Hi guys,i know this is too

ty

Highlighted

Can we assign multiple Vlans to same physical switch port-Access

If your switch is POE then you can assign 2 VLAN

!

interface fa0/1

switchport mode access

switchport access vlan 2

switchport voice vlan 3

end

Highlighted
VIP Advisor

Can we assign multiple Vlans to same physical switch port-Access

As Amjad said, you could create a trunk port and tag VLANs, but you could also specifiy a native vlan:

switchport trunk native vlan XX

...which would send out that particular VLAN (XX) untagged, and any traffic recieved untagged will be put in VLAN XX.

So would behave like an access switchport.

cheers,

Seb.

Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Ac

Thanks Seb, will try & revert on the result. Also please let me know this native Vlan(XX) has to be a different vlan from the Vlans used or we can speficy native vlan from any of the used vlans.

Regards

Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Ac

The switch would assume that all the untagged frames coming in on that port are part of the native VLAN. For an example if you are using that port for server and if the server NIC is capable to tag the different subnet traffic with the VLAN tag and if the switch receive any untagged frames sent by the server then they belongs to the native VLAN.

It is not necessary that you should configure native VLAN and it depends on what you configured on your server NIC and if the server is sending any uptagged frames or not.

Thanks,

Kasi

Highlighted
Cisco Employee

Re: Can we assign multiple Vlans to same physical switch port-Access

ty
Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Access

 

Hi Roman,

Can we assign more than two VLANs on Catalyst 3560 series PoE 48.

Also is it possible to assign each VLAN with different IPs

Appreciate your assistance

Cheers

Raj

Highlighted
Frequent Contributor

Re: Can we assign multiple Vlans to same physical switch port-Ac

What kind of server?  Are you going to be plugging in a VMWare ESX server or something?  You just need a trunk port in that case.

Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Ac

Try these two steps.

Configure the port as a trunk

switchport mode trunk

Configure the trunk to only allow vlans 10 and 15

switchport mode trunk allowed vlan 10,15

Highlighted
Beginner

Can we assign multiple Vlans to same physical switch port-Access

Yes, we can assign multiple Vlans to same physical switch port-Access Port.

first, you need change the switchport to mode trunk end then allow the ports

int f0/0

switchport mode trunk

switchport trunk allowed vlan 10,20

show interfaces trunk

Fa0/1       10,20

if you wanna add another vlan in the same interface:

switchport trunk allowed vlan add 5

show interfaces trunk

Fa0/1       5,10,20

source = https://supportforums.cisco.com/docs/DOC-2218

Highlighted
Beginner

but i want to dynamically

but i want to dynamically assign ip to my laptops, so will i do?

thanks

Highlighted
Beginner

Re: Can we assign multiple Vlans to same physical switch port-Access

Hi guys,

 

i have port 1 from sophos xg firewall which also has vlan 200 identified as Port1.200 ( on Sophos XG )

Now Port 1 is connected to fa0/1 on cisco 3560.

 

My query is , how can i assign vlan 200 to other ports on the switch , so that when a device is connected to say for example fa0/5 it gets an ip from VLAN 200 ( 10.10.200.50 to 10.10.200.150 range , DHCP enabled in Sophos XG )

 

Appreciate any assistance