Get-VDUplinkLacpPolicy Command | Vmware PowerCLI Reference

Get-VDUplinkLacpPolicy

This cmdlet retrieves the Link Aggregation Control Protocol policy for uplink ports. For uplink port group and vSphere distributed switch parameter sets, the default port policy at the uplink port group or switch level is retrieved.

Syntax

Get-VDUplinkLacpPolicy
-VDPort < VDPort[] >
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDPort VDPort[] named
  • pipeline
Specifies the uplink port for which you want to retrieve the Link Aggregation Control Protocol policy.
optional ProgressAction ActionPreference named
Get-VDUplinkLacpPolicy
-VDPortgroup < VDPortgroup[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDPortgroup VDPortgroup[] named
  • pipeline
Specifies an uplink port group for which you want to retrieve the default Link Aggregation Control Protocol policy.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
Get-VDUplinkLacpPolicy
-VDSwitch < VDSwitch[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDSwitch VDSwitch[] named
  • pipeline
Specifies a vSphere distributed switch for which you want to retrieve the default Link Aggregation Control Protocol policy.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

Output

VMware.VimAutomation.Vds.Types.V1.Policy.UplinkLacpPolicy

Examples

Example 1

Get-VDSwitch "MyVDSwitch" | Get-VDUplinkLacpPolicy

Retrieves the Link Aggregation Control Protocol policy of a vSphere distributed switch named "MyVDSwitch".

Example 2

Get-VDSwitch "MyVDSwitch" | Get-UplinkPortgroup "MyVDPortgroup" | Get-VDUplinkLacpPolicy

Retrieves the Link Aggregation Control Protocol policy of an uplink port group named "MyUplinkPortgroup" inside a vSphere distributed switch named "MyVDSwitch".

Related Commands

VDUplinkLacpPolicy

This cmdlet retrieves the Link Aggregation Control Protocol policy for uplink ports.

This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports.

VDUplinkTeamingPolicy

This cmdlet retrieves the uplink teaming policy for distributed ports.

This cmdlet modifies the uplink teaming policy for distributed ports.