The VLAN ID 1 you get from the command is the native/default VLAN configured on the physical switch port. Afaik you cannot query e.g. the allowed VLANs from ESXi. What you may try is to check the observed IP list, which however may or may not be reliant (see http://communities.vmware.com/message/1257866)
André