BloxOsLite (UbiSwitch, SwitchBlox Industrial)
📘 Allows VLAN control on the switch’s ports
vlan add [port <int>] [vid <int>] [{"pvid"}] [{"untagged"}]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Port number. Must indicate a port which actually exists | ✅ |
vid |
int |
VLAN identifier for VLAN group. Must be between 1 and 4096 . |
✅ |
pvid |
string |
String literal for whether the VLAN identifier will be added as a the port’s default VLAN information | ❌ |
untagged |
string |
String literal for whether the packets egressing from the port should be untagged, as is the case for access ports | ❌ |
Available on v0.1.0
or higher.
vlan del [port <int>] [vid <int>]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Port number. Must indicate a port which actually exists | ✅ |
vid |
int |
VLAN identifier for VLAN group. Must be between 1 and 4096 . |
✅ |
Available on v0.1.0
or higher.
This allows you to save the current VLAN configuration stored in the switch into memory so that the configuration will be written on reset.
vlan save
Available on v0.1.0
or higher.
This allows you to clear the saved VLAN configuration from memory so that on reset, no VLAN configuration will be loaded.
vlan clear
Available on v0.1.0
or higher.
vlan show
Available on v0.1.0
or higher.
Table of Contents