Code Docs

BloxOsLite (UbiSwitch, SwitchBlox Industrial)

VLANs

📘 Allows VLAN control on the switch’s ports

Adding a VLAN member

vlan add [port <int>] [vid <int>] [{"pvid"}] [{"untagged"}]

Parameters

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

Quick Guides

Available on v0.1.0 or higher.

Deleting a VLAN member

vlan del [port <int>] [vid <int>]

Parameters

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.

Quick Guides

Available on v0.1.0 or higher.

Prior versions

Table of Contents