This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRCloudVLANConfiguration

In this article

    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

    Get-VBRCloudVLANConfiguration

    Get-VBRViVirtualSwitch

    Get-VBRHvServerNetworkInfo

    Return Type

    VBRCloudVLANConfiguration

    Detailed Description

    This cmdlet modifies a selected VLANs pool.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Configuration

    Specifies the VLAN configuration you want to modify.

    True

    Named

    True (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    False

    ViVirtual
    Switch

    Specifies the VMware virtual switch connected to the target host.

    True

    Named

    False

    False

    HvNetwork
    Info

    Specifies the Hyper-V virtual switch connected to the target host.

    True

    Named

    False

    False

    FirstVLAN
    WithInternet

    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
    WithInternet

    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
    Without
    Internet

    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
    Without
    Internet

    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.

    1. Run Get-VBRCloudVLANConfiguration to get the VLAN pools. Save the array of pools to the $configs variable.
    2. 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