BloxOsLite (UbiSwitch, SwitchBlox Industrial)
π Allows you to control port speed, duplex and auto-negotiation settings
[port <int>] link [{"off", "on"}]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Switch port PHY number. | β |
link |
string |
String literal describing whether the PHY should have link down or up | β |
Available on v0.1.0
or higher.
[port <int>] phy [autoneg {"off", "on"}] [speed <int>] [duplex {"full", "half"}] [advertise <int> <int> ...]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Switch port PHY number | β |
autoneg |
string |
String literal describing whether the portβs PHY should enable auto-negotiation. | β |
speed |
int |
PHY speed if auto-negotiation disabled. Must be (10, 100, 200, 1000, 2500, 5000, 10000). Required if auto-negotiation is disabled. | β |
duplex |
string |
PHY duplex if auto-negotiation disabled. String literal must be βfullβ or βhalfβ . Required if auto-negotiation is disabled. |
β |
advertise |
List[int] |
The advertised link modes supported by the PHY. You can add support for multiple link modes by providing a list of ints. | |
0x01 - 10BaseT half |
|||
0x02 - 10BaseT full |
|||
0x04 - 100BaseT half |
|||
0x08 - 100BaseT full |
|||
0x10 - 1000BaseT half |
|||
0x20 - 1000BaseT full |
β |
Available on v0.2.0
or higher.
This allows you to save all ports MAC and PHY configurations stored so that the configuration will be written on reset.
port save
Available on v0.2.0
or higher.
This allows you to clear all ports MAC and PHY configuration from memory so that on reset, no port configuration will be loaded on reboot.
port clear
Available on v0.3.1
or higher.
[port <int>] show conf
Available on v0.2.0
or higher.
*Currently only available on UbiSwitch
[port <int>] temperature
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Switch port PHY number | β |
Available on v0.3.1
or higher.
*Currently only available on UbiSwitch
[port <int>] mac [mode {"1000basex", "sgmii", "2500basex", "5gbaser", "10gbaser", "usxgmii"}]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Switch port PHY number | β |
mode |
string |
Possible PCS modes for SERDES ports supported: 1000basex, sgmii, 2500basex, 5gbaser, 10gbaser, usxgmii | β |
Available on v0.4.0
or higher.
*Currently only available on UbiSwitch
[port <int>] eee [{"on", "off"}]
Property | Type | Description | Required? |
---|---|---|---|
port |
int |
Switch port PHY number | β |
eee |
string |
on for advertise EEE to link partner, off for no advertisement EEE to link partner |
β |
Available on v0.4.0
or higher.
Table of Contents