Posted on July 23, 2020 10:09 pm
 |  Asked by Quoc-Hoai Tran
 |  318 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hi,

Please let me know how to read from/write to an EEPROM of Transceiver/AOC under DCS-7060DX4-32 – EOS 4.23.

Thank you.

0
Posted by Roberto
Answered on July 23, 2020 11:30 pm

I believe you are looking for "show idprom transceiver ethernet x"

For exmaple:

show idprom transceiver ethernet 2/1

Ethernet2 IDPROM Page 00h Upper Register Width 8

Data (length 128):

    0000    0d000c04 00000000 00000005 67000032    ............g..2

    0010    00000000 41726973 7461204e 6574776f    ....Arista Netwo

    0020    726b7320 00001c73 51534650 2d343047    rks ...sQSFP-40G

    0030    2d535234 20202020 30334268 07d0460d    -SR4    03Bh..F.

    0040    00000fde 584d4431 35313230 30304b34    ....XMD1512000K4

    0050    20202020 31353033 32312020 080000a2        150321  ....

    0060    10030000 00000000 00000000 00000000    ................

    0070    00000000 000002f8 00000000 5a864791    ............Z.G.

0
Posted by Quoc-Hoai Tran
Answered on May 21, 2021 5:30 am

I am sorry for the late reply, Roberto.

The given command only shows upper page 0 of the transceiver.

To have read/write ability for any byte, we need to have root user right and using i2c-tools.

Hope it help others too.

Post your Answer

You must be logged in to post an answer.