Code Docs

BloxOsLite (UbiSwitch, SwitchBlox Industrial)

Link Aggregation / LAG

πŸ“˜ Allows you to combine multiple ports together into a single logical link for added redundancy and bandwidth. Otherwise known as Ethernet bonding

Support

Board name Board SKU
UbiSwitch BB-UBS-B-1

Create an LAG group

lag create [<string>]

Create an LAG interface which you can add/remove ports from.

Parameters

Property Type Description Required?
id string Name given to the LAG group. Must be 4 characters or less. βœ…

Quick Guides

Available on v0.1.0 or higher.

Delete an LAG group

lag del [<string>]

Delete an LAG interface.

Parameters

Property Type Description Required?
id string Name given to the LAG group. Must be 4 characters or less. The LAG must not have any ports added and it’s name must exist. βœ…

Quick Guides

Available on v0.1.0 or higher.

Add a port to LAG group

lag add [id <str>] [port <int>]

Parameters

Property Type Description Required?
id string Name given to the LAG group. Must be 4 characters or less. The LAG must not have any ports added and it’s name must exist. βœ…
port int Switch port to add to LAG βœ…

Quick Guides

Available on v0.1.0 or higher.

Remove a port from LAG group

lag leave [id <str>] [port <int>]

Parameters

Property Type Description Required?
id string Name given to the LAG group. Must be 4 characters or less. The LAG must not have any ports added and it’s name must exist. βœ…
port int Switch port to remove from LAG βœ…

Quick Guides

Available on v0.1.0 or higher.

Saving LAG configuration

This allows you to save the current LAG configuration stored in the switch into memory so that the configuration will be written on reset.

lag save

Available on v0.1.0 or higher.

Clearing LAG configuration

This allows you to clear the saved LAG configuration from memory so that on reset, no LAG configuration will be loaded.

lag clear

Available on v0.1.0 or higher.

Showing LAG configuration

lag show

Available on v0.1.0 or higher.

Table of Contents