POE
Configure PowerOverEthernet controllers.
- POE
Access LTC4258 Power-over-Ethernet controllers on an I2C bus managed by the SDK. This is for Broadcom reference boards; a Trident 3 SONiC switch has no such controller, and the command prints
cannot open I2C device ….Written
POE <poe_num> <op> [<address> [<data>]]with<poe_num>1–6. The operation is case-sensitive and must be typed in full:dump,r,status,clear,rescanorw.rescanis not in the built-in help.Safety:
dump,randstatusare read-only;clear,rescanandwwrite to the controller.Unvalidated
drivshell> poe 1 statusUnvalidated — Rescan (not in the built-in help)
drivshell> poe 1 rescan- POE dump
Written
POE <poe_num> dump. Print all controller registers. Read-only.Unvalidated
drivshell> poe 1 dump
- POE status
Written
POE <poe_num> status. Print the port status. Read-only.Unvalidated
drivshell> poe 2 status
- POE clear
Written
POE <poe_num> clear. Clear the interrupt bits. Writes to the controller.Unvalidated
drivshell> poe 1 clear
- POE rescan
Written
POE <poe_num> rescan. Ask the driver to rescan. Not in the built-in help.Unvalidated
drivshell> poe 1 rescan
- POE r <address>
Written
POE <poe_num> r <address>. Read one register; prints<dev>[0x<addr>] = 0x<val>. Read-only.Unvalidated
drivshell> poe 1 r 0x0
- POE w <address> <data>
Written
POE <poe_num> w <address> <data>. Write one register; prints0x<val> => <dev>[0x<addr>]. Writes to the controller.Unvalidated
drivshell> poe 1 w 0x12 0x0
Built-in help
Usages: poe poe_num dump - display all registers on LTC4258[poe_num]. poe poe_num status - display port status on LTC4258[poe_num]. poe poe_num clear - clear interrupt bits on LTC4258[poe_num]. poe poe_num r <address> - read LTC4258[poe_num] register at address. poe poe_num w <address> <data> - write LTC4258[poe_num] register data at address. In all cases, poe_num = [1..6]. MuxSel may also be necessary.