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
vlanintThe 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
vlanintThe VLAN used for encapsulation.
encapsulationFormatEncapsulationFormatsThe 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
vlanintThe VLAN used for encapsulation.
extVlanintThe 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
vlanintThe VLAN used for encapsulation.
extVlanintThe package with this VLAN will be encapsulated with
vlan.encapsulationFormatEncapsulationFormatsThe 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.