This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports at switch or uplink port group level.
||Specifies the Link Aggregation Control Protocol policy that you want to configure.||optional||
||Specifies whether the Link Aggregation Control Protocol is enabled for the corresponding uplink port group or vSphere distributed switch.||optional||
||Specifies whether the Enabled setting is inherited from a parent object, such as a vSphere distributed switch.||optional||
||Specifies the mode of the Link Aggregation Control Protocol policy for the corresponding uplink port group or vSphere distributed switch. The value can be Active or Passive.||optional||
||Specifies whether the Mode setting is inherited from a parent object, such as a vSphere distributed switch.|
Retrieves a vSphere distributed switch named "MyVDSwitch" and updates its policy to enable the Link Aggregation Control Protocol, and sets the corresponding policy mode to active.
Retrieves a distributed port group named "MyVDPortgroup" and updates its Link Aggregation Control Protocol mode based on its parent object's setting values.