VMware Cloud Community
SCharchouf
Hot Shot
Hot Shot

Change ForgedTransmits for VDPortgroup

I'm trying to change the ForgedTransmits for VDPortgroup without success

PowerCLI C:\> Get-VDPortgroup | ?{$_.IsUplink -eq $true} | Get-VDSecurityPolicy

VDPortgroup                    AllowPromiscuous MacChanges ForgedTransmits

-----------                    ---------------- ---------- ---------------

AFA_vds-DVUplinks              False            False      True

PowerCLI C:\> Get-VDPortgroup | ?{$_.IsUplink -eq $true} | Get-VDSecurityPolicy | Set-VDSecurityPolicy -ForgedTransmits $false

Set-VDSecurityPolicy : 23/04/2020 16:57:33      Set-VDSecurityPolicy            Cannot complete a vSphere Distributed Switch operation for one or more host members. vDS operation failed on host lab.domaine.intrne,  got (vmodl.fault.HostCommunication) exception. vDS operation failed on host lab.domaine.intrne,  got (vmodl.fault.HostCommunication) exception

At line:1 char:69

+ ... | Get-VDSecurityPolicy | Set-VDSecurityPolicy -ForgedTransmits $false

+                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Set-VDSecurityPolicy], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Vds.Commands.Cmdlets.Policies.SetVDSecurityPolicy

any help please?

0 Kudos
3 Replies
LucD
Leadership
Leadership

From the error message it looks as if the communication with one ESXi node (lab.domaine.intrne) is not working.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
SCharchouf
Hot Shot
Hot Shot

it's strange behaviour, as the lockdown Mode is disabled and not sure where I need to check to troubleshoot this issue

0 Kudos
LucD
Leadership
Leadership

Can you try a Disconnect-Connect for the problematic ESXi node?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos