< Back
Set-VDUplinkLacpPolicy
Post
NAME Set-VDUplinkLacpPolicy
SYNOPSIS
This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports.
SYNTAX
Set-VDUplinkLacpPolicy [-Policy] <UplinkLacpPolicy[]> [-Enabled <Boolean>] [-EnabledInherited <Boolean>] [-Mode
<UplinkLacpMode>] [-ModeInherited <Boolean>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports at switch or uplink port group
level.
PARAMETERS
-Enabled <Boolean>
Specifies whether the Link Aggregation Control Protocol is enabled for the corresponding uplink port group or
vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnabledInherited <Boolean>
Specifies whether the Enabled setting is inherited from a parent object, such as a vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Mode <UplinkLacpMode>
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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ModeInherited <Boolean>
Specifies whether the Mode setting is inherited from a parent object, such as a vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <UplinkLacpPolicy[]>
Specifies the Link Aggregation Control Protocol policy that you want to configure.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,
the cmdlet runs without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are
modified.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
The modified VDUplinkLacpPolicy objects
NOTES
-------------------------- Example 1 --------------------------
Get-VDSwitch "MyVDSwitch" | Get-VDUplinkLacpPolicy | Set-VDUplinkLacpPolicy -Enabled $true -Mode Active
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.
-------------------------- Example 2 --------------------------
Get-VDPortgroup "MyVDPortgroup" | Get-VDUplinkLacpPolicy | Set-VDUplinkLacpPolicy -ModeInherited $true
Retrieves a distributed port group named "MyVDPortgroup" and updates its Link Aggregation Control Protocol mode
based on its parent object's setting values.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... olicy.html
Get-VDUplinkLacpPolicy
SYNOPSIS
This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports.
SYNTAX
Set-VDUplinkLacpPolicy [-Policy] <UplinkLacpPolicy[]> [-Enabled <Boolean>] [-EnabledInherited <Boolean>] [-Mode
<UplinkLacpMode>] [-ModeInherited <Boolean>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports at switch or uplink port group
level.
PARAMETERS
-Enabled <Boolean>
Specifies whether the Link Aggregation Control Protocol is enabled for the corresponding uplink port group or
vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnabledInherited <Boolean>
Specifies whether the Enabled setting is inherited from a parent object, such as a vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Mode <UplinkLacpMode>
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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ModeInherited <Boolean>
Specifies whether the Mode setting is inherited from a parent object, such as a vSphere distributed switch.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <UplinkLacpPolicy[]>
Specifies the Link Aggregation Control Protocol policy that you want to configure.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,
the cmdlet runs without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are
modified.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
The modified VDUplinkLacpPolicy objects
NOTES
-------------------------- Example 1 --------------------------
Get-VDSwitch "MyVDSwitch" | Get-VDUplinkLacpPolicy | Set-VDUplinkLacpPolicy -Enabled $true -Mode Active
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.
-------------------------- Example 2 --------------------------
Get-VDPortgroup "MyVDPortgroup" | Get-VDUplinkLacpPolicy | Set-VDUplinkLacpPolicy -ModeInherited $true
Retrieves a distributed port group named "MyVDPortgroup" and updates its Link Aggregation Control Protocol mode
based on its parent object's setting values.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... olicy.html
Get-VDUplinkLacpPolicy