Uplink removal on Distributed Switch fails with "A specified parameter was not correct"
search cancel

Uplink removal on Distributed Switch fails with "A specified parameter was not correct"

book

Article ID: 432357

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Modifying or removing uplinks from a Distributed Switch fails with the following error : A specified parameter was not correct

  • The following error is logged in /var/run/log/hostd.log:
    Invalid shaping policy: shaper is enabled, but at least one of the avgbps, peakbps or burst is not set

Environment

VMware ESXi 7.0

Cause

Since any of the traffic shaping policy parameters (Average Bandwidth, Peak Bandwidth, or Burst Size) are too large values in the ConfigStore, hostd treats them as unset.
Network configuration updates, such as modifying or removing Distributed Switch uplinks, trigger the configuration verification. This check fails because required parameters are treated as missing while traffic shaping is enabled, causing an error.

Resolution

This issue is resolved in VMware ESXi 7.0 U3f (build number 20036589).

Workaround : Disable the traffic shaping policy. For additional details, refer to Traffic Shaping Policy.

Additional Information

Related KB : Cannot create vSwitch or vSwitch portgroup 7.0 U2 "A Specified Parameter was not set"

分散スイッチのアップリンク削除が「指定されたパラメータが正しくありません」というエラーで失敗する