Wednesday, February 26, 2014

How to find VLANs/Portgroups configured in ESXi Standard switch?

Note: Verified for ESXI version 5.1

# esxcli network vswitch standard list vSwitch0 Name: vSwitch0 Class: etherswitch Num Ports: 128 Used Ports: 4 Configured Ports: 128 MTU: 1500 CDP Status: listen Beacon Enabled: false Beacon Interval: 1 Beacon Threshold: 3 Beacon Required By: Uplinks: vmnic0 Portgroups: VM Network, Management Network vSwitch1 Name: vSwitch1 Class: etherswitch Num Ports: 1024 Used Ports: 8 Configured Ports: 1024 MTU: 1500 CDP Status: listen Beacon Enabled: false Beacon Interval: 1 Beacon Threshold: 3 Beacon Required By: Uplinks: vmnic5, vmnic1 Portgroups: VLAN198, NFS vSwitch2 Name: vSwitch2 Class: etherswitch Num Ports: 1024 Used Ports: 17 Configured Ports: 1024 MTU: 1500 CDP Status: listen Beacon Enabled: false Beacon Interval: 1 Beacon Threshold: 3 Beacon Required By: Uplinks: vmnic7, vmnic6, vmnic3, vmnic2 Portgroups: VLAN124, VLAN115, VLAN114, VLAN112, VLAN110, VLAN106, VLAN105, VLAN104, VLAN103, VLAN102, VLAN101, VLAN100, VLAN99, VLAN98, VLAN97, VLAN96, VLAN79, VLAN113, VLAN111, VLAN76, VLAN78

No comments: