Table of Contents

Method SetEncapsulation

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

SetEncapsulation(int)

Configure the encapsulation on the interface using IEEE 802.1Q (dot1q).

IInterfaceSettings SetEncapsulation(int vlan)

Parameters

vlan int

The VLAN used for encapsulation.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

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

SetEncapsulation(int, EncapsulationFormats)

Configure encapsulation on the interface.

IInterfaceSettings SetEncapsulation(int vlan, EncapsulationFormats encapsulationFormat)

Parameters

vlan int

The VLAN used for encapsulation.

encapsulationFormat EncapsulationFormats

The encapsulation format to be used.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

SetEncapsulation(int, EncapsulationFormats) will be thrown if this setting is not supported.

SetEncapsulation(int, int)

Configure the encapsulation on the interface using IEEE 802.1Q (dot1q).

IInterfaceSettings SetEncapsulation(int vlan, int extVlan)

Parameters

vlan int

The VLAN used for encapsulation.

extVlan int

The package with this VLAN will be encapsulated with vlan.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

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

SetEncapsulation(int, int, EncapsulationFormats)

Configure encapsulation on the interface for a specific VLAN.

IInterfaceSettings SetEncapsulation(int vlan, int extVlan, EncapsulationFormats encapsulationFormat)

Parameters

vlan int

The VLAN used for encapsulation.

extVlan int

The package with this VLAN will be encapsulated with vlan.

encapsulationFormat EncapsulationFormats

The encapsulation format to be used.

Returns

IInterfaceSettings

The settings object in order to concatenate multiple settings.

Exceptions

NotSupportedException

SetEncapsulation(int, int, EncapsulationFormats) will be thrown if this setting is not supported.