Method RemoveVlan
- Namespace
- Skyline.DataMiner.Utils.Interfaces.Network
- Assembly
- Skyline.DataMiner.Utils.Interfaces.dll
RemoveVlan(int)
Remove a VLAN from the interface. Equivalent to 'switchport trunk allowed vlan remove [VLAN ID]' command.
IInterfaceSettings RemoveVlan(int vlan)
Parameters
vlan
intThe VLAN to remove.
Returns
- IInterfaceSettings
The settings object in order to concatenate multiple settings.
Exceptions
- NotSupportedException
RemoveVlan(int) will be thrown if this setting is not supported.
RemoveVlan(int[])
Remove multiple VLANs from the interface. Equivalent to 'switchport trunk allowed vlan remove [VLAN ID]' command.
IInterfaceSettings RemoveVlan(int[] vlans)
Parameters
vlans
int[]The VLANs to remove.
Returns
- IInterfaceSettings
The settings object in order to concatenate multiple settings.
Exceptions
- NotSupportedException
RemoveVlan(int[]) will be thrown if this setting is not supported.