Table of Contents

Method SetVlan

Namespace
Skyline.DataMiner.Utils.Interfaces.Network
Assembly
Skyline.DataMiner.Utils.Interfaces.dll

SetVlan(int[])

Set the VLANs to the interface. Equivalent to 'switchport trunk allowed vlan [VLAN ID]' command.

IInterfaceSettings SetVlan(int[] vlans)

Parameters

vlans int[]

The VLANs to add.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

SetVlan(int[]) will be thrown if this setting is not supported.