The health check support helps you identify and troubleshoot configuration errors in a vSphere Distributed Switch.

Use vSphere Distributed Switch health check to examine certain settings on the distributed and physical switches to identify common errors in your environment's networking configuration. The default interval between two health checks is 1 minute.

Important: Use health check to troubleshoot network problems, and then deactivate it after you identify and resolve the problem. After you deactivate vSphere Distributed Switch health check, the generated MAC addresses age out of your physical network environment according to your network policy. For more information, see Knowledge Base article KB 2034795.
Configuration Error Health Check Required Configuration on the Distributed Switch
The VLAN trunk ranges configured on the distributed switch do not match the trunk ranges on the physical switch. Checks whether the VLAN settings on the distributed switch match the trunk port configuration on the connected physical switch ports. At least two active physical NICs
The MTU settings on the physical network adapters, distributed switch, and physical switch ports do not match. Checks whether the physical access switch port MTU jumbo frame setting based on per VLAN matches the vSphere distributed switch MTU setting. At least two active physical NICs
The teaming policy configured on the port groups does not match the policy on the physical switch port-channel. Checks whether the connected access ports of the physical switch that participate in an EtherChannel are paired with distributed ports whose teaming policy is set to IP hash. At least two active physical NICs and two hosts

Health check is limited to only the access switch port to which the distributed switch uplink connects.

Manage vSphere Distributed Switch Health Check

Health check monitors for changes in vSphere Distributed Switch configurations. You must enable vSphere Distributed Switch health check to perform checks on distributed switch configurations.

Procedure

  1. On the vSphere Client Home page, click Networking and navigate to the distributed switch.
  2. Select the Configure tab and expand Setting.
  3. Select Health Check and click the Edit button.
  4. Use the drop-down menus to enable or disable health check options.
    Option Description
    VLAN and MTU Reports the status of distributed uplink ports and VLAN ranges.
    Teaming and Failover Checks for any configuration mismatch between theESXi host and the physical switch used in the teaming policy.
  5. Click OK.

What to do next

When you change the configuration of a vSphere Distributed Switch, you can view information about the change in the Monitor tab in the vSphere Client. See View vSphere Distributed Switch Health Status.

View vSphere Distributed Switch Health Status

Once you have enabled health check on a vSphere Distributed Switch, you can view the network health status of the hosts connected in the vSphere Client .

Prerequisites

Verify that health check for VLAN and MTU, and for teaming policy is enabled on the vSphere Distributed Switch. See Manage vSphere Distributed Switch Health Check.

Procedure

  1. On the vSphere Client Home page, click Networking and navigate to the distributed switch.
  2. On the Monitor tab, click Health.
  3. In the Host member health status section, examine the overall, VLAN, MTU and teaming health of the hosts connected to the switch.