For the vSphere distributed Switch to enable trunk you have to add VLAN range.
Either it could be default 0-4094 or any other specific VLAN range which exist in your network.
You can use 4095 to enable Trunk on SS.
Note, when you enable Trunk on PortGroup, then you need to do the VLAN tagging inside VM Guest OS Network configuration (VGT Mode).
Sample configuration of virtual machine VLAN Tagging (VGT Mode) in ESX (1004252) | VMware KB
Assign a VLAN to a portgroup(s). The supported VLAN range is 1-4094.
Reserved VLAN IDs:
- VLAN ID 0 (zero) Disables VLAN tagging on port group (EST Mode)
- VLAN ID 4095 Enables trunking on port group (VGT Mode)
from KB - Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB
Wireshark to sniff the traffic
It really depends on where you are putting your Wireshark system.
e.g. if I want to snip all traffic for VMs from PortGroup-X which is VLAN 10 then I can enable Promiscuous mode for this PortGroup and add Wireshark VM in this PG.
Promiscuous mode will broadcast VM traffic to all ports in that PG.
Note, Port mirroring and Promiscuous mode are two different things.
-
Haridas Vhadade