If you need to change your vswitch and port group settings using the service console or SSH, esxcfg-vswitch is what you need to use.
A) List all virtual switches and the port group
Continue reading[root@datahivehost1:~] esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 5376 14 128 1500 vmnic0PortGroup Name VLAN ID Used Ports Uplinks
VM_Management 888 6 vmnic0
VMVLAN1 1 3 vmnic0
vmotion 188 1 vmnic0
ManagementNetwork 888 1 vmnic0Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch_NFS 5376 4 1024 1500 vmnic3PortGroup Name VLAN ID Used Ports Uplinks
DATA_LAN 0 0 vmnic3
NFS 567 1 vmnic3Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch_VM_Network 5376 1 1024 1500PortGroup Name VLAN ID Used Ports Uplinks
DVS Name Num Ports Used Ports Configured Ports MTU Uplinks
DATAHIVEDSwitch 5376 17 512 9000 vmnic1,vmnic2DVPort ID In Use Client
34 1 vmnic1
35 1 vmnic2
18 1 MK_WIN16-01.eth0
45 1 Hive_Sense02.eth2
21 1 MK_Desktop02.eth0
44 1 Hive_Sense01.eth2
68 1 Hive-NSX-Manager.eth0
22 1 MK_WIN_01.eth0
88 1 RHUI-Client01.eth0
86 1 CDS01.eth0
89 1 RHUI-RHEL8-01.eth0
84 1 Repostore.eth0
95 1 lab-svr-01.eth0
96 1 lab-svr-02.eth0