Monitor VXLAN
The esxcli network vswithch dvs vmware vxlan namespace supports commands for exploring VXLAN configuration details.
For a more detailed example of this functionality, see the VMware vSphere blog post about the topic.
Procedure
-
List all available
VXLAN vNetwork Distributed Switches.
esxcli network vswitch dvs vmware vxlan list
-
View the VXLAN
statistics level.
esxcli network vswitch dvs vmware vxlan config stats get
-
Change the statistics
level, for example, from 0 to 1.
esxcli network vswitch dvs vmware vxlan config stats set --level 1
You can decide to filter statistics as follows.- For a vNetwork Distributed Switch, localized to an ESXi host
- For a VTEP VMkernel interface
- For a VXLAN segment ID
- For a vNetwork Distributed Switch port ID
-
View statistics for a
specific vNetwork Distributed Switch.
esxcli network vswitch dvs vmware vxlan config stats list --vds-name Cluster01-VXLAN-VDS
-
View statistics for a
VXLAN segment ID.
- List the
available segment IDs.
esxcli network vswitch dvs vmware vxlan network list -vds-name Cluster01-VXLAN-VDS
- View the network
statistics for a particular segment ID.
esxcli network vswitch dvs vmware vxlan network stats list --vds-name Cluster01-VXLAN-VDS --vxlan-id 5000
- Retrieve network
mapping if some virtual machine communication is occurring.
esxcli network vswitch dvs vmware vxlan network mapping list --vds-name Cluster01-VXLAN-VDS --vxlan-id 5000
- List the
available segment IDs.
-
View VXLAN statistics
for a VDS Port ID.
esxcli network vswitch dvs vmware vxlan network port list --vds-name Cluster01-VXLAN-VDS --vxlan-id 5000
-
View the network
statistics for a specific VDS Port ID.
esxcli network vswitch dvs vmware vxlan network port list --vds-name Cluster01-VXLAN-VDS --vxlan-id 5000 vdsport-is 968