Table of Contents

Method AddVlan

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

AddVlan(int)

Add a VLAN to the interface. Equivalent to 'switchport trunk allowed vlan add [VLAN ID]' command.

IInterfaceSettings AddVlan(int vlan)

Parameters

vlan int

The VLAN to add.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

AddVlan(int) will be thrown if this setting is not supported.

AddVlan(int[])

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

IInterfaceSettings AddVlan(int[] vlans)

Parameters

vlans int[]

The VLANs to add.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

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