Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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>]

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.

Accepts VBRCloudVLANConfiguration type.

True

Named

True (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

False

ViVirtual
Switch

Specifies the VMware virtual switch connected to the target host.

Accepts VBRViVirtualSwitch type.

True

Named

False

False

HvNetwork
Info

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

Accepts VBRHvServerNetworkInfo type.

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.

Return Type

VBRCloudVLANConfiguration

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

Related Commands

Get-VBRCloudVLANConfiguration

Get-VBRViVirtualSwitch

Get-VBRHvServerNetworkInfo

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation