Short Description
Modifies pools of VLANs reserved for Veeam Cloud Connect.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides 3 parameter sets:
- For quick adding/removing VLANs
Set-VBRCloudVLANConfiguration -Configuration <VBRCloudVLANConfiguration> [-FirstVLANWithInternet <int>] [-LastVLANWithInternet <int>] [-FirstVLANWithoutInternet <int>] [-LastVLANWithoutInternet <int>] [-PassThru] [<CommonParameters>] |
- For VMware
Set-VBRCloudVLANConfiguration -Configuration <VBRCloudVLANConfiguration> [-ViVirtualSwitch <VBRViVirtualSwitch>] [-FirstVLANWithInternet <int>] [-LastVLANWithInternet <int>] [-FirstVLANWithoutInternet <int>] [-LastVLANWithoutInternet <int>] [-PassThru] [<CommonParameters>] |
- For Hyper-V
Set-VBRCloudVLANConfiguration -Configuration <VBRCloudVLANConfiguration> [-HvNetworkInfo <VBRHvServerNetworkInfo>] [-FirstVLANWithInternet <int>] [-LastVLANWithInternet <int>] [-FirstVLANWithoutInternet <int>] [-LastVLANWithoutInternet <int>] [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a selected VLANs pool. To modify settings enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Configuration | Specifies the VLAN configuration you want to modify. Accepts VBRCloudVLANConfiguration type. | True | Named | True (ByValue, | False |
ViVirtual | Specifies the VMware virtual switch connected to the target host. Accepts VBRViVirtualSwitch type. | True | Named | False | False |
HvNetwork | Specifies the Hyper-V virtual switch connected to the target host. Accepts VBRHvServerNetworkInfo type. | True | Named | False | False |
FirstVLAN | Specifies the first VLAN ID in the range of VLANs you plan to use for providing networks with internet access to VM replicas on the cloud host. | True | Named | False | False |
LastVLAN | Specifies the last VLAN ID in the range of VLANs you plan to use for providing networks with internet access to VM replicas on the cloud host. | True | Named | False | False |
FirstVLAN | Specifies the first VLAN ID in the range of VLANs you plan to use for providing networks without internet access to VM replicas on the cloud host. | True | Named | False | False |
LastVLAN | Specifies the last VLAN ID in the range of VLANs you plan to use for providing networks without internet access to VM replicas on the cloud host. | True | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This example shows how to change the number of VLANs in the pool of reserved VLANs.
- Run Get-VBRCloudVLANConfiguration to get the VLAN pools. Save the array of pools to the $configs variable.
- Run Set-VBRCloudVLANConfiguration. Use the first VLAN pool in the array saved to the $configs variable. Specify new ranges of VLANs.
PS C:\PS> $configs = Get-VBRCloudVLANConfiguration PS C:\PS> Set-VBRCloudVLANConfiguration -Configuration $configs[0] -FirstVLANWithInternet 1 -LastVLANWithInternet 10 -FirstVLANWithoutInternet 11 -LastVLANWithoutInternet 20 |
Related Commands