Set-VBRCloudVLANConfiguration
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>] |
Related Commands
Return Type
Detailed Description
This cmdlet modifies a selected VLANs pool.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Configuration | Specifies the VLAN configuration you want to modify. | True | Named | True (by Value | False |
ViVirtual | Specifies the VMware virtual switch connected to the target host. | True | Named | False | False |
HvNetwork | Specifies the Hyper-V virtual switch connected to the target host. | 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.
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.