The active ports for portgroups is showing as zero in ESXi host client ui.
search cancel

The active ports for portgroups is showing as zero in ESXi host client ui.

book

Article ID: 402721

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

The active ports shows 0 in host client ui even though when powered-on virtual machines are connected to the portgroup.

The virtual machines should not have any connectivity issues.

Environment

VMware vSphere ESXi 8.x

Cause

This issue is seen in ESXi 8.x, as a cache layer was introduced in host ui , and GetNetworkInfo just returns the cache. The cache is updated by the vmkernel event notification. However, for this particular case/field, there is no vmkernel event notification. Thus the cache is not refreshed, and GetNetworkInfo returns stale info.

Hence, the active ports shows a 0 in host ui.

Resolution

This is a known issue in ESXi version 8.0 which will not have any impact on the virtual machines.

As a workaround, run following command in ESXi host ssh which will manually refresh the network info and reflect active ports in ESXi host client ui:-

vim-cmd hostsvc/net/refresh