Is there a way to set a native VLAN for a vswitch? I'm not much of a network guy but I suspect the vswitch just listens to all VLANs so it can pass it onto the ports with VLANs specified.
Thanks.
You can set up VLAN ID 4095 to allow traffic from all VLANs to go to this portgroup.
---
MCP, MCTS, VCP, VMware vExpert '2009
But is it possible to set, say, VLAN 200, for the vswitch itself so it'll only listen on that vlan?
You can tag a port / use a default VLAN as follows:
VLAN<BLAH>, VLAN ID: none (this would be whatever the default VLAN is set to, say 2000)
VLAN<BLAH2>, VLAN ID: <NUM> (this would be a tagged VLAN on the same port, if applicable)
The configuration needs to be made on the switch side such as:
interface GigabitEthernet4/12
switchport trunk native vlan 2000
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2000-2005
switchport mode trunk
spanning-tree portfast trunk
A 'native' vlan is a switch port in 802.1q trunking mode that will effectively take any 'untagged' (no VLAN ID) Ethernet frames and assign them to the native VLAN assigned to the switch port trunk.
So as sflanders said, if you leave the VLAN ID blank on the portgroup and the switch port has the native VLAN ID set you should be in business.
Ben