1. Insert QSFP28-2M-DAC ce0,ce1 , verify the preemp root@sonic:/home/admin# show int status | head Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- --------------- ------ ------ ------- --------------- ---------- Ethernet0 49,50,51,52 N/A 9100 hundredGigE1/1 routed up up QSFP28 or later N/A Ethernet4 53,54,55,56 N/A 9100 hundredGigE1/2 routed up up QSFP28 or later N/A Ethernet8 65,66,67,68 N/A 9100 hundredGigE1/3 routed down up N/A N/A Ethernet12 69,70,71,72 N/A 9100 hundredGigE1/4 routed down up N/A N/A Ethernet16 81,82,83,84 N/A 9100 hundredGigE1/5 routed down up N/A N/A Ethernet20 85,86,87,88 N/A 9100 hundredGigE1/6 routed down up N/A N/A Ethernet24 97,98,99,100 N/A 9100 hundredGigE1/7 routed down up N/A N/A Ethernet28 101,102,103,104 N/A 9100 hundredGigE1/8 routed down up N/A N/A root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet0 1) "alias" 2) "hundredGigE1/1" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "49,50,51,52" 9) "index" 10) "1" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4610,0xE4610,0xE4610,0xE4610" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet4 1) "alias" 2) "hundredGigE1/2" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "53,54,55,56" 9) "index" 10) "2" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4610,0xE4610,0xE4610,0xE4610" root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy ce0 TXFIR_CTL1r.$ind" > bcmcmd "phy ce0 TXFIR_CTL0r.$ind" > done lane:0 phy ce0 TXFIR_CTL1r.0 Port ce0: TXFIR_CTL1r.0 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce0 TXFIR_CTL0r.0 Port ce0: TXFIR_CTL0r.0 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:1 phy ce0 TXFIR_CTL1r.1 Port ce0: TXFIR_CTL1r.1 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce0 TXFIR_CTL0r.1 Port ce0: TXFIR_CTL0r.1 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:2 phy ce0 TXFIR_CTL1r.2 Port ce0: TXFIR_CTL1r.2 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce0 TXFIR_CTL0r.2 Port ce0: TXFIR_CTL0r.2 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:3 phy ce0 TXFIR_CTL1r.3 Port ce0: TXFIR_CTL1r.3 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce0 TXFIR_CTL0r.3 Port ce0: TXFIR_CTL0r.3 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> root@sonic:/home/admin# ce1 TXFIR_CTL1r.$ind"; bcmcmd "phy ce1 TXFIR_CTL0r.$ind"; done$ind; bcmcmd "phy c lane:0 phy ce1 TXFIR_CTL1r.0 Port ce1: TXFIR_CTL1r.0 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce1 TXFIR_CTL0r.0 Port ce1: TXFIR_CTL0r.0 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:1 phy ce1 TXFIR_CTL1r.1 Port ce1: TXFIR_CTL1r.1 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce1 TXFIR_CTL0r.1 Port ce1: TXFIR_CTL0r.1 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:2 phy ce1 TXFIR_CTL1r.2 Port ce1: TXFIR_CTL1r.2 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce1 TXFIR_CTL0r.2 Port ce1: TXFIR_CTL0r.2 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:3 phy ce1 TXFIR_CTL1r.3 Port ce1: TXFIR_CTL1r.3 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce1 TXFIR_CTL0r.3 Port ce1: TXFIR_CTL0r.3 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>tx 10000 pbm=ce0 tx 10000 pbm=ce0 drivshell>show c ce1 show c ce1 RUC_64.ce1 : 10,000 +10,000 RDBGC0_64.ce1 : 10,000 +10,000 RDBGC3_64.ce1 : 10,000 +10,000 ING_NIV_RX_FRAMES_VL.ce1 : 10,000 +10,000 CLMIB_R64.ce1 : 55 +55 CLMIB_R127.ce1 : 10,000 +10,000 CLMIB_R255.ce1 : 38 +38 CLMIB_RPKT.ce1 : 10,093 +10,093 CLMIB_RUCA.ce1 : 10,000 +10,000 CLMIB_RMCA.ce1 : 39 +39 CLMIB_RBCA.ce1 : 54 +54 CLMIB_RPRM.ce1 : 10,000 +10,000 CLMIB_RVLN.ce1 : 10,000 +10,000 CLMIB_RPOK.ce1 : 10,093 +10,093 CLMIB_RBYT.ce1 : 691,964 +691,964 CLMIB_T64.ce1 : 55 +55 CLMIB_T255.ce1 : 38 +38 CLMIB_TPOK.ce1 : 93 +93 CLMIB_TPKT.ce1 : 93 +93 CLMIB_TMCA.ce1 : 39 +39 CLMIB_TBCA.ce1 : 54 +54 CLMIB_TBYT.ce1 : 11,964 +11,964 CLMIB_RPROG0.ce1 : 10,055 +10,055 UC_PERQ_PKT(0).ce1 : 93 +93 UC_PERQ_BYTE(0).ce1 : 11,964 +11,964 drivshell>show c ce0 show c ce0 CLMIB_R64.ce0 : 55 +55 CLMIB_R255.ce0 : 39 +39 CLMIB_RPKT.ce0 : 94 +94 CLMIB_RMCA.ce0 : 40 +40 CLMIB_RBCA.ce0 : 54 +54 CLMIB_RPOK.ce0 : 94 +94 CLMIB_RBYT.ce0 : 12,203 +12,203 CLMIB_T64.ce0 : 55 +55 CLMIB_T127.ce0 : 10,000 +10,000 CLMIB_T255.ce0 : 39 +39 CLMIB_TPOK.ce0 : 10,094 +10,094 CLMIB_TPKT.ce0 : 10,094 +10,094 CLMIB_TUCA.ce0 : 10,000 +10,000 CLMIB_TMCA.ce0 : 40 +40 CLMIB_TBCA.ce0 : 54 +54 CLMIB_TVLN.ce0 : 10,000 +10,000 CLMIB_TBYT.ce0 : 692,203 +692,203 CLMIB_RPROG0.ce0 : 55 +55 UC_PERQ_PKT(0).ce0 : 10,094 +10,094 UC_PERQ_BYTE(0).ce0 : 692,203 +692,203 drivshell>root@sonic:/home/admin# 2. Insert the QSFP28-3M-DAC in ce0,ce1 and check the preemp root@sonic:/home/admin# !sho show int status | head Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- --------------- ------ ------ ------- --------------- ---------- Ethernet0 49,50,51,52 N/A 9100 hundredGigE1/1 routed up up QSFP28 or later N/A Ethernet4 53,54,55,56 N/A 9100 hundredGigE1/2 routed up up QSFP28 or later N/A Ethernet8 65,66,67,68 N/A 9100 hundredGigE1/3 routed down up N/A N/A Ethernet12 69,70,71,72 N/A 9100 hundredGigE1/4 routed down up N/A N/A Ethernet16 81,82,83,84 N/A 9100 hundredGigE1/5 routed down up N/A N/A Ethernet20 85,86,87,88 N/A 9100 hundredGigE1/6 routed down up N/A N/A Ethernet24 97,98,99,100 N/A 9100 hundredGigE1/7 routed down up N/A N/A Ethernet28 101,102,103redis-cli -n 0 hgetall PORT_TABLE:Ethernet0 1) "alias" 2) "hundredGigE1/1" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "49,50,51,52" 9) "index" 10) "1" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4511,0xE4511,0xE4511,0xE4511" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet4 1) "alias" 2) "hundredGigE1/2" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "53,54,55,56" 9) "index" 10) "2" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4511,0xE4511,0xE4511,0xE4511" root@sonic:/home/admin# ce0 TXFIR_CTL1r.$ind"; bcmcmd "phy ce0 TXFIR_CTL0r.$ind"; done$ind; bcmcmd "phy c lane:0 phy ce0 TXFIR_CTL1r.0 Port ce0: TXFIR_CTL1r.0 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce0 TXFIR_CTL0r.0 Port ce0: TXFIR_CTL0r.0 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:1 phy ce0 TXFIR_CTL1r.1 Port ce0: TXFIR_CTL1r.1 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce0 TXFIR_CTL0r.1 Port ce0: TXFIR_CTL0r.1 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:2 phy ce0 TXFIR_CTL1r.2 Port ce0: TXFIR_CTL1r.2 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce0 TXFIR_CTL0r.2 Port ce0: TXFIR_CTL0r.2 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:3 phy ce0 TXFIR_CTL1r.3 Port ce0: TXFIR_CTL1r.3 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce0 TXFIR_CTL0r.3 Port ce0: TXFIR_CTL0r.3 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> ce1 TXFIR_CTL1r.$ind"; bcmcmd "phy ce1 TXFIR_CTL0r.$ind"; done$ind; bcmcmd "phy c lane:0 phy ce1 TXFIR_CTL1r.0 Port ce1: TXFIR_CTL1r.0 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce1 TXFIR_CTL0r.0 Port ce1: TXFIR_CTL0r.0 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:1 phy ce1 TXFIR_CTL1r.1 Port ce1: TXFIR_CTL1r.1 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce1 TXFIR_CTL0r.1 Port ce1: TXFIR_CTL0r.1 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:2 phy ce1 TXFIR_CTL1r.2 Port ce1: TXFIR_CTL1r.2 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce1 TXFIR_CTL0r.2 Port ce1: TXFIR_CTL0r.2 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:3 phy ce1 TXFIR_CTL1r.3 Port ce1: TXFIR_CTL1r.3 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce1 TXFIR_CTL0r.3 Port ce1: TXFIR_CTL0r.3 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> root@sonic:/home/admin# Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>clear c clear c drivshell>show c show c drivshell>tx 10000 pbm=ce0 tx 10000 pbm=ce0 drivshell>show c show c PERQ_PKT(4).cpu0 : 12 +12 2/s PERQ_BYTE(4).cpu0 : 1,166 +1,166 120/s CLMIB_R64.ce0 : 4 +4 1/s CLMIB_R255.ce0 : 1 +1 CLMIB_RPKT.ce0 : 5 +5 1/s CLMIB_RMCA.ce0 : 1 +1 CLMIB_RBCA.ce0 : 4 +4 1/s CLMIB_RPOK.ce0 : 5 +5 1/s CLMIB_RBYT.ce0 : 495 +495 56/s CLMIB_T64.ce0 : 6 +6 1/s CLMIB_T127.ce0 : 10,000 +10,000 CLMIB_T255.ce0 : 1 +1 CLMIB_TPOK.ce0 : 10,007 +10,007 1/s CLMIB_TPKT.ce0 : 10,007 +10,007 1/s CLMIB_TUCA.ce0 : 10,000 +10,000 CLMIB_TMCA.ce0 : 1 +1 CLMIB_TBCA.ce0 : 6 +6 1/s CLMIB_TVLN.ce0 : 10,000 +10,000 CLMIB_TBYT.ce0 : 680,623 +680,623 56/s CLMIB_RPROG0.ce0 : 4 +4 1/s UC_PERQ_PKT(0).ce0 : 10,007 +10,007 1/s UC_PERQ_BYTE(0).ce0 : 680,623 +680,623 56/s RUC_64.ce1 : 10,000 +10,000 RDBGC0_64.ce1 : 10,000 +10,000 RDBGC3_64.ce1 : 10,000 +10,000 ING_NIV_RX_FRAMES_VL.ce1 : 10,000 +10,000 CLMIB_R64.ce1 : 6 +6 1/s CLMIB_R127.ce1 : 10,000 +10,000 CLMIB_R255.ce1 : 1 +1 CLMIB_RPKT.ce1 : 10,007 +10,007 1/s CLMIB_RUCA.ce1 : 10,000 +10,000 CLMIB_RMCA.ce1 : 1 +1 CLMIB_RBCA.ce1 : 6 +6 1/s CLMIB_RPRM.ce1 : 10,000 +10,000 CLMIB_RVLN.ce1 : 10,000 +10,000 CLMIB_RPOK.ce1 : 10,007 +10,007 1/s CLMIB_RBYT.ce1 : 680,623 +680,623 56/s CLMIB_T64.ce1 : 4 +4 1/s CLMIB_T255.ce1 : 1 +1 CLMIB_TPOK.ce1 : 5 +5 1/s CLMIB_TPKT.ce1 : 5 +5 1/s CLMIB_TMCA.ce1 : 1 +1 CLMIB_TBCA.ce1 : 4 +4 1/s CLMIB_TBYT.ce1 : 495 +495 56/s CLMIB_RPROG0.ce1 : 10,006 +10,006 1/s UC_PERQ_PKT(0).ce1 : 5 +5 1/s UC_PERQ_BYTE(0).ce1 : 495 +495 56/s 3. Insert QSFP+ 5M DAC and check the pre-emp. 100G speed port with 40G DAC 5M, Link will not comeup. root@sonic:/# !sho show int status | head Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- --------------- ------ ------ ------- -------------- ---------- Ethernet0 49,50,51,52 N/A 9100 hundredGigE1/1 routed down up QSFP+ or later N/A Ethernet4 53,54,55,56 N/A 9100 hundredGigE1/2 routed down up QSFP+ or later N/A Ethernet8 65,66,67,68 N/A 9100 hundredGigE1/3 routed down up N/A N/A Ethernet12 69,70,71,72 N/A 9100 hundredGigE1/4 routed down up N/A N/A Ethernet16 81,82,83,84 N/A 9100 hundredGigE1/5 routed down up N/A N/A Ethernet20 85,86,87,88 N/A 9100 hundredGigE1/6 routed down up N/A N/A Ethernet24 97,98,99,100 N/A 9100 hundredGigE1/7 routed down up N/A N/A Ethernet28 101,102,103,104 N/A 9100 hundredGigE1/8 routed down up N/A N/A root@sonic:/# !red redis-cli -n 0 hgetall PORT_TABLE:Ethernet0 1) "alias" 2) "hundredGigE1/1" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "49,50,51,52" 9) "index" 10) "1" 11) "oper_status" 12) "down" 13) "preemphasis" 14) "0x54802,0x54802,0x54802,0x54802" root@sonic:/# redis-cli -n 0 hgetall PORT_TABLE:Ethernet4 1) "alias" 2) "hundredGigE1/2" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "53,54,55,56" 9) "index" 10) "2" 11) "oper_status" 12) "down" 13) "preemphasis" 14) "0x54802,0x54802,0x54802,0x54802" root@sonic:/# 0 CTL1r.$ind"; bcmcmd "phy ce0 TXFIR_CTL0r.$ind"; done$ind; bcmcmd "phy ce1 TXFIR_C lane:0 phy ce0 TXFIR_CTL1r.0 Port ce0: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy ce0 TXFIR_CTL0r.0 Port ce0: TXFIR_CTL0r.0 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:1 phy ce0 TXFIR_CTL1r.1 Port ce0: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy ce0 TXFIR_CTL0r.1 Port ce0: TXFIR_CTL0r.1 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:2 phy ce0 TXFIR_CTL1r.2 Port ce0: TXFIR_CTL1r.2 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy ce0 TXFIR_CTL0r.2 Port ce0: TXFIR_CTL0r.2 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:3 phy ce0 TXFIR_CTL1r.3 Port ce0: TXFIR_CTL1r.3 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy ce0 TXFIR_CTL0r.3 Port ce0: TXFIR_CTL0r.3 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> root@sonic:/# root@sonic:/# 4. Random Port Testing. Connecting QSFP28 2M on ce63,c64 and test the pre-emp root@sonic:/home/admin# show int status | tail Ethernet216 249,250,251,252 N/A 9100 hundredGigE1/55 routed down up N/A N/A Ethernet220 253,254,255,256 N/A 9100 hundredGigE1/56 routed down up N/A N/A Ethernet224 153,154,155,156 N/A 9100 hundredGigE1/57 routed down up N/A N/A Ethernet228 157,158,159,160 N/A 9100 hundredGigE1/58 routed down up N/A N/A Ethernet232 169,170,171,172 N/A 9100 hundredGigE1/59 routed down up N/A N/A Ethernet236 173,174,175,176 N/A 9100 hundredGigE1/60 routed down up N/A N/A Ethernet240 185,186,187,188 N/A 9100 hundredGigE1/61 routed down up N/A N/A Ethernet244 189,190,191,192 N/A 9100 hundredGigE1/62 routed down up N/A N/A Ethernet248 201,202,203,204 N/A 9100 hundredGigE1/63 routed up up QSFP28 or later N/A Ethernet252 205,206,207redis-cli -n 0 hgetall PORT_TABLE:Ethernet248 1) "alias" 2) "hundredGigE1/63" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "201,202,203,204" 9) "index" 10) "63" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4610,0xE4610,0xE4610,0xE4610" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet252 1) "alias" 2) "hundredGigE1/64" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "205,206,207,208" 9) "index" 10) "64" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4610,0xE4610,0xE4610,0xE4610" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# ce62 TXFIR_CTL1r.$ind"; bcmcmd "phy ce62 TXFIR_CTL0r.$ind"; done$ind; bcmcmd "phy c lane:0 phy ce62 TXFIR_CTL1r.0 Port ce62: TXFIR_CTL1r.0 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce62 TXFIR_CTL0r.0 Port ce62: TXFIR_CTL0r.0 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:1 phy ce62 TXFIR_CTL1r.1 Port ce62: TXFIR_CTL1r.1 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce62 TXFIR_CTL0r.1 Port ce62: TXFIR_CTL0r.1 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:2 phy ce62 TXFIR_CTL1r.2 Port ce62: TXFIR_CTL1r.2 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce62 TXFIR_CTL0r.2 Port ce62: TXFIR_CTL0r.2 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:3 phy ce62 TXFIR_CTL1r.3 Port ce62: TXFIR_CTL1r.3 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce62 TXFIR_CTL0r.3 Port ce62: TXFIR_CTL0r.3 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> ce63 TXFIR_CTL1r.$ind"; bcmcmd "phy ce63 TXFIR_CTL0r.$ind"; donend; bcmcmd "phy c lane:0 phy ce63 TXFIR_CTL1r.0 Port ce63: TXFIR_CTL1r.0 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce63 TXFIR_CTL0r.0 Port ce63: TXFIR_CTL0r.0 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:1 phy ce63 TXFIR_CTL1r.1 Port ce63: TXFIR_CTL1r.1 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce63 TXFIR_CTL0r.1 Port ce63: TXFIR_CTL0r.1 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:2 phy ce63 TXFIR_CTL1r.2 Port ce63: TXFIR_CTL1r.2 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce63 TXFIR_CTL0r.2 Port ce63: TXFIR_CTL0r.2 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:3 phy ce63 TXFIR_CTL1r.3 Port ce63: TXFIR_CTL1r.3 [0x7001d131] = 0x100e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x10 drivshell> phy ce63 TXFIR_CTL0r.3 Port ce63: TXFIR_CTL0r.3 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# 4b)Insert QSFP28 2M at port 48,49 root@sonic:/home/admin# show int status | grep QSFP28 Ethernet188 121,122,123,124 N/A 9100 hundredGigE1/48 routed up up QSFP28 or later N/A Ethernet192 137,138,139,140 N/A 9100 hundredGigE1/49 routed up up QSFP28 or later N/A root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet188 1) "alias" 2) "hundredGigE1/48" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "121,122,123,124" 9) "index" 10) "48" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xD480F,0xD480F,0xD480F,0xD480F" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet192 1) "alias" 2) "hundredGigE1/49" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "137,138,139,140" 9) "index" 10) "49" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xD480F,0xD480F,0xD480F,0xD480F" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# ce47 TXFIR_CTL1r.$ind"; bcmcmd "phy ce47 TXFIR_CTL0r.$ind"; donend; bcmcmd "phy c lane:0 phy ce47 TXFIR_CTL1r.0 Port ce47: TXFIR_CTL1r.0 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce47 TXFIR_CTL0r.0 Port ce47: TXFIR_CTL0r.0 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:1 phy ce47 TXFIR_CTL1r.1 Port ce47: TXFIR_CTL1r.1 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce47 TXFIR_CTL0r.1 Port ce47: TXFIR_CTL0r.1 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:2 phy ce47 TXFIR_CTL1r.2 Port ce47: TXFIR_CTL1r.2 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce47 TXFIR_CTL0r.2 Port ce47: TXFIR_CTL0r.2 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:3 phy ce47 TXFIR_CTL1r.3 Port ce47: TXFIR_CTL1r.3 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce47 TXFIR_CTL0r.3 Port ce47: TXFIR_CTL0r.3 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> ce48 TXFIR_CTL1r.$ind"; bcmcmd "phy ce48 TXFIR_CTL0r.$ind"; donend; bcmcmd "phy c lane:0 phy ce48 TXFIR_CTL1r.0 Port ce48: TXFIR_CTL1r.0 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce48 TXFIR_CTL0r.0 Port ce48: TXFIR_CTL0r.0 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:1 phy ce48 TXFIR_CTL1r.1 Port ce48: TXFIR_CTL1r.1 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce48 TXFIR_CTL0r.1 Port ce48: TXFIR_CTL0r.1 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:2 phy ce48 TXFIR_CTL1r.2 Port ce48: TXFIR_CTL1r.2 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce48 TXFIR_CTL0r.2 Port ce48: TXFIR_CTL0r.2 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:3 phy ce48 TXFIR_CTL1r.3 Port ce48: TXFIR_CTL1r.3 [0x7001d131] = 0x0f0d TXFIR_POST1<5:0>=0xd TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0xf drivshell> phy ce48 TXFIR_CTL0r.3 Port ce48: TXFIR_CTL0r.3 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# !sho show int status | grep QSFP28 Ethernet216 249,250,251,252 N/A 9100 hundredGigE1/55 routed up up QSFP28 or later N/A Ethernet220 253,254,255,256 N/A 9100 hundredGigE1/56 routed up up QSFP28 or later N/A root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet216 1) "alias" 2) "hundredGigE1/55" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "249,250,251,252" 9) "index" 10) "55" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4511,0xE4511,0xE4511,0xE4511" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet220 1) "alias" 2) "hundredGigE1/56" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "253,254,255,256" 9) "index" 10) "56" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0xE4511,0xE4511,0xE4511,0xE4511" root@sonic:/home/admin# ce54 TXFIR_CTL1r.$ind"; bcmcmd "phy ce54 TXFIR_CTL0r.$ind"; donend; bcmcmd "phy c lane:0 phy ce54 TXFIR_CTL1r.0 Port ce54: TXFIR_CTL1r.0 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce54 TXFIR_CTL0r.0 Port ce54: TXFIR_CTL0r.0 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:1 phy ce54 TXFIR_CTL1r.1 Port ce54: TXFIR_CTL1r.1 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce54 TXFIR_CTL0r.1 Port ce54: TXFIR_CTL0r.1 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:2 phy ce54 TXFIR_CTL1r.2 Port ce54: TXFIR_CTL1r.2 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce54 TXFIR_CTL0r.2 Port ce54: TXFIR_CTL0r.2 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:3 phy ce54 TXFIR_CTL1r.3 Port ce54: TXFIR_CTL1r.3 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce54 TXFIR_CTL0r.3 Port ce54: TXFIR_CTL0r.3 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# ce55 TXFIR_CTL1r.$ind"; bcmcmd "phy ce55 TXFIR_CTL0r.$ind"; donend; bcmcmd "phy c lane:0 phy ce55 TXFIR_CTL1r.0 Port ce55: TXFIR_CTL1r.0 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce55 TXFIR_CTL0r.0 Port ce55: TXFIR_CTL0r.0 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:1 phy ce55 TXFIR_CTL1r.1 Port ce55: TXFIR_CTL1r.1 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce55 TXFIR_CTL0r.1 Port ce55: TXFIR_CTL0r.1 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:2 phy ce55 TXFIR_CTL1r.2 Port ce55: TXFIR_CTL1r.2 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce55 TXFIR_CTL0r.2 Port ce55: TXFIR_CTL0r.2 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> lane:3 phy ce55 TXFIR_CTL1r.3 Port ce55: TXFIR_CTL1r.3 [0x7001d131] = 0x110e TXFIR_POST1<5:0>=0xe TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x11 drivshell> phy ce55 TXFIR_CTL0r.3 Port ce55: TXFIR_CTL0r.3 [0x7001d130] = 0x0045 TXFIR_MAIN<6:0>=0x45 drivshell> 5. Insert the QSFP+ 1M DAC between 1/3,1/4 (xe2,xe3) and check the preemp root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet8 1) "alias" 2) "fortyGigE1/3" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "65,66,67,68" 9) "index" 10) "3" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54102,0x54102,0x43A04,0x43A04" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet12 1) "alias" 2) "fortyGigE1/4" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "69,70,71,72" 9) "index" 10) "4" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54102,0x54102,0x54102,0x54102" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe2 TXFIR_CTL1r.$ind" > bcmcmd "phy xe2 TXFIR_CTL0r.$ind" > done lane:0 phy xe2 TXFIR_CTL1r.0 Port xe2: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe2 TXFIR_CTL0r.0 Port xe2: TXFIR_CTL0r.0 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> lane:1 phy xe2 TXFIR_CTL1r.1 Port xe2: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe2 TXFIR_CTL0r.1 Port xe2: TXFIR_CTL0r.1 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> lane:2 phy xe2 TXFIR_CTL1r.2 Port xe2: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe2 TXFIR_CTL0r.2 Port xe2: TXFIR_CTL0r.2 [0x7001d130] = 0x003a TXFIR_MAIN<6:0>=0x3a drivshell> lane:3 phy xe2 TXFIR_CTL1r.3 Port xe2: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe2 TXFIR_CTL0r.3 Port xe2: TXFIR_CTL0r.3 [0x7001d130] = 0x003a TXFIR_MAIN<6:0>=0x3a drivshell> ^C nemd "phy xe2 TXFIR_CTL1r.$ind"; bcmcmd "phy xe2 TXFIR_CTL0r.$ind"; don root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe3 TXFIR_CTL1r.$ind" > bcmcmd "phy xe3 TXFIR_CTL0r.$ind" > done lane:0 phy xe3 TXFIR_CTL1r.0 Port xe3: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe3 TXFIR_CTL0r.0 Port xe3: TXFIR_CTL0r.0 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> lane:1 phy xe3 TXFIR_CTL1r.1 Port xe3: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe3 TXFIR_CTL0r.1 Port xe3: TXFIR_CTL0r.1 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> lane:2 phy xe3 TXFIR_CTL1r.2 Port xe3: TXFIR_CTL1r.2 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe3 TXFIR_CTL0r.2 Port xe3: TXFIR_CTL0r.2 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> lane:3 phy xe3 TXFIR_CTL1r.3 Port xe3: TXFIR_CTL1r.3 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe3 TXFIR_CTL0r.3 Port xe3: TXFIR_CTL0r.3 [0x7001d130] = 0x0041 TXFIR_MAIN<6:0>=0x41 drivshell> root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>clear c clear c drivshell>tx 1000 pbm=xe2 tx 1000 pbm=xe2 drivshell>show c show c CLMIB_T127.xe2 : 1,000 +1,000 CLMIB_TPOK.xe2 : 1,000 +1,000 CLMIB_TPKT.xe2 : 1,000 +1,000 CLMIB_TUCA.xe2 : 1,000 +1,000 CLMIB_TVLN.xe2 : 1,000 +1,000 CLMIB_TBYT.xe2 : 68,000 +68,000 UC_PERQ_PKT(0).xe2 : 1,000 +1,000 UC_PERQ_BYTE(0).xe2 : 68,000 +68,000 RUC_64.xe3 : 1,000 +1,000 RDBGC0_64.xe3 : 1,000 +1,000 RDBGC3_64.xe3 : 1,000 +1,000 ING_NIV_RX_FRAMES_VL.xe3 : 1,000 +1,000 CLMIB_R127.xe3 : 1,000 +1,000 CLMIB_RPKT.xe3 : 1,000 +1,000 CLMIB_RUCA.xe3 : 1,000 +1,000 CLMIB_RPRM.xe3 : 1,000 +1,000 CLMIB_RVLN.xe3 : 1,000 +1,000 CLMIB_RPOK.xe3 : 1,000 +1,000 CLMIB_RBYT.xe3 : 68,000 +68,000 CLMIB_RPROG0.xe3 : 1,000 +1,000 drivshell>ps xe2,xe3 ps xe2,xe3 ena/ speed/ link auto STP lrn inter max cut loop port link Lns duplex scan neg? state pause discrd ops face frame thru? back xe2( 34) up 4 40G FD SW No Forward None F XLAUI 9122 No xe3( 35) up 4 40G FD SW No Forward None F XLAUI 9122 No drivshell>root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# show int status | grep QSFP Ethernet0 49,50,51,52 N/A 9100 fortyGigE1/1 routed up up QSFP+ or later N/A Ethernet4 53,54,55,56 N/A 9100 fortyGigE1/2 routed up up QSFP+ or later N/A Ethernet8 65,66,67,68 N/A 9100 fortyGigE1/3 routed up up QSFP+ or later N/A Ethernet12 69,70,71,72 N/A 9100 fortyGigE1/4 routed up up QSFP+ or later N/A Ethernet16 81,82,83,84 N/A 9100 fortyGigE1/5 routed up up QSFP+ or later N/A Ethernet20 85,86,87,88 N/A 9100 fortyGigE1/6 routed up up QSFP+ or later N/A Ethernet24 97,98,99,100 N/A 9100 fortyGigE1/7 routed up up QSFP+ or later N/A Ethernet28 101,102,103,104 N/A 9100 fortyGigE1/8 routed up up QSFP+ or later N/A Ethernet32 1,2,3,4 N/A 9100 fortyGigE1/9 routed down up QSFP+ or later N/A Ethernet40 17,18,19,20 N/A 9100 fortyGigE1/11 routed up up QSFP+ or later N/A Ethernet44 21,22,23,24 N/A 9100 fortyGigE1/12 routed up up QSFP+ or later N/A Ethernet112 181,182,183,184 N/A 9100 fortyGigE1/29 routed up up QSFP28 or later N/A Ethernet116 177,178,179,180 N/A 9100 fortyGigE1/30 routed up up QSFP28 or later N/A Ethernet120 197,198,199,200 N/A 9100 fortyGigE1/31 routed up up QSFP28 or later N/A Ethernet124 193,194,195docker ps^C root@sonic:/home/admin# root@sonic:/home/admin# 6. Insert the QSFP+ 2M DAC between 1/5,1/6 (xe4,xe5) and check the preemp root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet16 1) "alias" 2) "fortyGigE1/5" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "81,82,83,84" 9) "index" 10) "5" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54302,0x54302,0x54302,0x54302" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet20 1) "alias" 2) "fortyGigE1/6" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "85,86,87,88" 9) "index" 10) "6" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x43c04,0x43c04,0x43c04,0x43c04" root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe4 TXFIR_CTL1r.$ind" > bcmcmd "phy xe4 TXFIR_CTL0r.$ind" > done lane:0 phy xe4 TXFIR_CTL1r.0 Port xe4: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe4 TXFIR_CTL0r.0 Port xe4: TXFIR_CTL0r.0 [0x7001d130] = 0x0043 TXFIR_MAIN<6:0>=0x43 drivshell> lane:1 phy xe4 TXFIR_CTL1r.1 Port xe4: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe4 TXFIR_CTL0r.1 Port xe4: TXFIR_CTL0r.1 [0x7001d130] = 0x0043 TXFIR_MAIN<6:0>=0x43 drivshell> lane:2 phy xe4 TXFIR_CTL1r.2 Port xe4: TXFIR_CTL1r.2 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe4 TXFIR_CTL0r.2 Port xe4: TXFIR_CTL0r.2 [0x7001d130] = 0x0043 TXFIR_MAIN<6:0>=0x43 drivshell> lane:3 phy xe4 TXFIR_CTL1r.3 Port xe4: TXFIR_CTL1r.3 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe4 TXFIR_CTL0r.3 Port xe4: TXFIR_CTL0r.3 [0x7001d130] = 0x0043 TXFIR_MAIN<6:0>=0x43 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe5 TXFIR_CTL1r.$ind" > bcmcmd "phy xe5 TXFIR_CTL0r.$ind" > done lane:0 phy xe5 TXFIR_CTL1r.0 Port xe5: TXFIR_CTL1r.0 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe5 TXFIR_CTL0r.0 Port xe5: TXFIR_CTL0r.0 [0x7001d130] = 0x003c TXFIR_MAIN<6:0>=0x3c drivshell> lane:1 phy xe5 TXFIR_CTL1r.1 Port xe5: TXFIR_CTL1r.1 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe5 TXFIR_CTL0r.1 Port xe5: TXFIR_CTL0r.1 [0x7001d130] = 0x003c TXFIR_MAIN<6:0>=0x3c drivshell> lane:2 phy xe5 TXFIR_CTL1r.2 Port xe5: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe5 TXFIR_CTL0r.2 Port xe5: TXFIR_CTL0r.2 [0x7001d130] = 0x003c TXFIR_MAIN<6:0>=0x3c drivshell> lane:3 phy xe5 TXFIR_CTL1r.3 Port xe5: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe5 TXFIR_CTL0r.3 Port xe5: TXFIR_CTL0r.3 [0x7001d130] = 0x003c TXFIR_MAIN<6:0>=0x3c drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>ps xe4,xe5 ps xe4,xe5 ena/ speed/ link auto STP lrn inter max cut loop port link Lns duplex scan neg? state pause discrd ops face frame thru? back xe4( 38) up 4 40G FD SW No Forward None F XLAUI 9122 No xe5( 39) up 4 40G FD SW No Forward None F XLAUI 9122 No drivshell>clear c clear c drivshell>tx 1000 pbm=xe4 tx 1000 pbm=xe4 drivshell>show c show c PERQ_PKT(4).cpu0 : 79 +79 PERQ_BYTE(4).cpu0 : 7,815 +7,815 CLMIB_R64.xe0 : 6 +6 CLMIB_R255.xe0 : 1 +1 CLMIB_RPKT.xe0 : 7 +7 CLMIB_RMCA.xe0 : 1 +1 CLMIB_RBCA.xe0 : 6 +6 CLMIB_RPOK.xe0 : 7 +7 CLMIB_RBYT.xe0 : 621 +621 CLMIB_T64.xe0 : 3 +3 CLMIB_T255.xe0 : 1 +1 CLMIB_TPOK.xe0 : 4 +4 CLMIB_TPKT.xe0 : 4 +4 CLMIB_TMCA.xe0 : 1 +1 CLMIB_TBCA.xe0 : 3 +3 CLMIB_TBYT.xe0 : 429 +429 CLMIB_RPROG0.xe0 : 6 +6 UC_PERQ_PKT(7).xe0 : 4 +4 UC_PERQ_BYTE(7).xe0 : 429 +429 CLMIB_R64.xe1 : 3 +3 CLMIB_R255.xe1 : 1 +1 CLMIB_RPKT.xe1 : 4 +4 CLMIB_RMCA.xe1 : 1 +1 CLMIB_RBCA.xe1 : 3 +3 CLMIB_RPOK.xe1 : 4 +4 CLMIB_RBYT.xe1 : 429 +429 CLMIB_T64.xe1 : 6 +6 CLMIB_T255.xe1 : 1 +1 CLMIB_TPOK.xe1 : 7 +7 CLMIB_TPKT.xe1 : 7 +7 CLMIB_TMCA.xe1 : 1 +1 CLMIB_TBCA.xe1 : 6 +6 CLMIB_TBYT.xe1 : 621 +621 CLMIB_RPROG0.xe1 : 3 +3 UC_PERQ_PKT(7).xe1 : 7 +7 UC_PERQ_BYTE(7).xe1 : 621 +621 CLMIB_R64.xe2 : 5 +5 CLMIB_R255.xe2 : 1 +1 CLMIB_RPKT.xe2 : 6 +6 CLMIB_RMCA.xe2 : 1 +1 CLMIB_RBCA.xe2 : 5 +5 CLMIB_RPOK.xe2 : 6 +6 CLMIB_RBYT.xe2 : 558 +558 CLMIB_T64.xe2 : 6 +6 CLMIB_T255.xe2 : 1 +1 CLMIB_TPOK.xe2 : 7 +7 CLMIB_TPKT.xe2 : 7 +7 CLMIB_TMCA.xe2 : 1 +1 CLMIB_TBCA.xe2 : 6 +6 CLMIB_TBYT.xe2 : 621 +621 CLMIB_RPROG0.xe2 : 5 +5 UC_PERQ_PKT(7).xe2 : 7 +7 UC_PERQ_BYTE(7).xe2 : 621 +621 CLMIB_R64.xe3 : 6 +6 CLMIB_R255.xe3 : 1 +1 CLMIB_RPKT.xe3 : 7 +7 CLMIB_RMCA.xe3 : 1 +1 CLMIB_RBCA.xe3 : 6 +6 CLMIB_RPOK.xe3 : 7 +7 CLMIB_RBYT.xe3 : 621 +621 CLMIB_T64.xe3 : 5 +5 CLMIB_T255.xe3 : 1 +1 CLMIB_TPOK.xe3 : 6 +6 CLMIB_TPKT.xe3 : 6 +6 CLMIB_TMCA.xe3 : 1 +1 CLMIB_TBCA.xe3 : 5 +5 CLMIB_TBYT.xe3 : 558 +558 CLMIB_RPROG0.xe3 : 6 +6 UC_PERQ_PKT(7).xe3 : 6 +6 UC_PERQ_BYTE(7).xe3 : 558 +558 CLMIB_R64.xe4 : 3 +3 CLMIB_R255.xe4 : 1 +1 CLMIB_RPKT.xe4 : 4 +4 CLMIB_RMCA.xe4 : 1 +1 CLMIB_RBCA.xe4 : 3 +3 CLMIB_RPOK.xe4 : 4 +4 CLMIB_RBYT.xe4 : 430 +430 CLMIB_T64.xe4 : 4 +4 CLMIB_T127.xe4 : 1,000 +1,000 876/s CLMIB_T255.xe4 : 1 +1 CLMIB_TPOK.xe4 : 1,005 +1,005 876/s CLMIB_TPKT.xe4 : 1,005 +1,005 876/s CLMIB_TUCA.xe4 : 1,000 +1,000 876/s CLMIB_TMCA.xe4 : 1 +1 CLMIB_TBCA.xe4 : 4 +4 CLMIB_TVLN.xe4 : 1,000 +1,000 876/s CLMIB_TBYT.xe4 : 68,494 +68,494 59,554/s CLMIB_RPROG0.xe4 : 3 +3 UC_PERQ_PKT(0).xe4 : 1,000 +1,000 876/s UC_PERQ_PKT(7).xe4 : 5 +5 UC_PERQ_BYTE(0).xe4 : 68,000 +68,000 59,554/s UC_PERQ_BYTE(7).xe4 : 494 +494 RUC_64.xe5 : 1,000 +1,000 876/s RDBGC0_64.xe5 : 1,000 +1,000 876/s RDBGC3_64.xe5 : 1,000 +1,000 876/s ING_NIV_RX_FRAMES_VL.xe5 : 1,000 +1,000 876/s CLMIB_R64.xe5 : 4 +4 CLMIB_R127.xe5 : 1,000 +1,000 876/s CLMIB_R255.xe5 : 1 +1 CLMIB_RPKT.xe5 : 1,005 +1,005 876/s CLMIB_RUCA.xe5 : 1,000 +1,000 876/s CLMIB_RMCA.xe5 : 1 +1 CLMIB_RBCA.xe5 : 4 +4 CLMIB_RPRM.xe5 : 1,000 +1,000 876/s CLMIB_RVLN.xe5 : 1,000 +1,000 876/s CLMIB_RPOK.xe5 : 1,005 +1,005 876/s CLMIB_RBYT.xe5 : 68,494 +68,494 59,554/s CLMIB_T64.xe5 : 3 +3 CLMIB_T255.xe5 : 1 +1 CLMIB_TPOK.xe5 : 4 +4 CLMIB_TPKT.xe5 : 4 +4 CLMIB_TMCA.xe5 : 1 +1 CLMIB_TBCA.xe5 : 3 +3 CLMIB_TBYT.xe5 : 430 +430 CLMIB_RPROG0.xe5 : 1,004 +1,004 876/s UC_PERQ_PKT(7).xe5 : 4 +4 UC_PERQ_BYTE(7).xe5 : 430 +430 CLMIB_R64.xe6 : 5 +5 CLMIB_R255.xe6 : 1 +1 CLMIB_RPKT.xe6 : 6 +6 CLMIB_RMCA.xe6 : 1 +1 CLMIB_RBCA.xe6 : 5 +5 CLMIB_RPOK.xe6 : 6 +6 CLMIB_RBYT.xe6 : 558 +558 CLMIB_T64.xe6 : 5 +5 CLMIB_T255.xe6 : 1 +1 CLMIB_TPOK.xe6 : 6 +6 CLMIB_TPKT.xe6 : 6 +6 CLMIB_TMCA.xe6 : 1 +1 CLMIB_TBCA.xe6 : 5 +5 CLMIB_TBYT.xe6 : 558 +558 CLMIB_RPROG0.xe6 : 5 +5 UC_PERQ_PKT(7).xe6 : 6 +6 UC_PERQ_BYTE(7).xe6 : 558 +558 CLMIB_R64.xe7 : 5 +5 CLMIB_R255.xe7 : 1 +1 CLMIB_RPKT.xe7 : 6 +6 CLMIB_RMCA.xe7 : 1 +1 CLMIB_RBCA.xe7 : 5 +5 CLMIB_RPOK.xe7 : 6 +6 CLMIB_RBYT.xe7 : 558 +558 CLMIB_T64.xe7 : 5 +5 CLMIB_T255.xe7 : 1 +1 CLMIB_TPOK.xe7 : 6 +6 CLMIB_TPKT.xe7 : 6 +6 CLMIB_TMCA.xe7 : 1 +1 CLMIB_TBCA.xe7 : 5 +5 CLMIB_TBYT.xe7 : 558 +558 CLMIB_RPROG0.xe7 : 5 +5 UC_PERQ_PKT(7).xe7 : 6 +6 UC_PERQ_BYTE(7).xe7 : 558 +558 CLMIB_R64.xe10 : 6 +6 CLMIB_R255.xe10 : 1 +1 CLMIB_RPKT.xe10 : 7 +7 CLMIB_RMCA.xe10 : 1 +1 CLMIB_RBCA.xe10 : 6 +6 CLMIB_RPOK.xe10 : 7 +7 CLMIB_RBYT.xe10 : 623 +623 CLMIB_T64.xe10 : 5 +5 CLMIB_T255.xe10 : 1 +1 CLMIB_TPOK.xe10 : 6 +6 CLMIB_TPKT.xe10 : 6 +6 CLMIB_TMCA.xe10 : 1 +1 CLMIB_TBCA.xe10 : 5 +5 CLMIB_TBYT.xe10 : 559 +559 CLMIB_RPROG0.xe10 : 6 +6 UC_PERQ_PKT(7).xe10 : 6 +6 UC_PERQ_BYTE(7).xe10 : 559 +559 CLMIB_R64.xe11 : 5 +5 CLMIB_R255.xe11 : 1 +1 CLMIB_RPKT.xe11 : 6 +6 CLMIB_RMCA.xe11 : 1 +1 CLMIB_RBCA.xe11 : 5 +5 CLMIB_RPOK.xe11 : 6 +6 CLMIB_RBYT.xe11 : 559 +559 CLMIB_T64.xe11 : 6 +6 CLMIB_T255.xe11 : 1 +1 CLMIB_TPOK.xe11 : 7 +7 CLMIB_TPKT.xe11 : 7 +7 CLMIB_TMCA.xe11 : 1 +1 CLMIB_TBCA.xe11 : 6 +6 CLMIB_TBYT.xe11 : 623 +623 CLMIB_RPROG0.xe11 : 5 +5 UC_PERQ_PKT(7).xe11 : 7 +7 UC_PERQ_BYTE(7).xe11 : 623 +623 CLMIB_R64.xe28 : 3 +3 CLMIB_R255.xe28 : 1 +1 CLMIB_RPKT.xe28 : 4 +4 CLMIB_RMCA.xe28 : 1 +1 CLMIB_RBCA.xe28 : 3 +3 CLMIB_RPOK.xe28 : 4 +4 CLMIB_RBYT.xe28 : 432 +432 CLMIB_T64.xe28 : 6 +6 CLMIB_T255.xe28 : 1 +1 CLMIB_TPOK.xe28 : 7 +7 CLMIB_TPKT.xe28 : 7 +7 CLMIB_TMCA.xe28 : 1 +1 CLMIB_TBCA.xe28 : 6 +6 CLMIB_TBYT.xe28 : 624 +624 CLMIB_RPROG0.xe28 : 3 +3 UC_PERQ_PKT(7).xe28 : 7 +7 UC_PERQ_BYTE(7).xe28 : 624 +624 CLMIB_R64.xe29 : 6 +6 CLMIB_R255.xe29 : 1 +1 CLMIB_RPKT.xe29 : 7 +7 CLMIB_RMCA.xe29 : 1 +1 CLMIB_RBCA.xe29 : 6 +6 CLMIB_RPOK.xe29 : 7 +7 CLMIB_RBYT.xe29 : 624 +624 CLMIB_T64.xe29 : 3 +3 CLMIB_T255.xe29 : 1 +1 CLMIB_TPOK.xe29 : 4 +4 CLMIB_TPKT.xe29 : 4 +4 CLMIB_TMCA.xe29 : 1 +1 CLMIB_TBCA.xe29 : 3 +3 CLMIB_TBYT.xe29 : 432 +432 CLMIB_RPROG0.xe29 : 6 +6 UC_PERQ_PKT(7).xe29 : 4 +4 UC_PERQ_BYTE(7).xe29 : 432 +432 CLMIB_R64.xe30 : 5 +5 CLMIB_R255.xe30 : 1 +1 CLMIB_RPKT.xe30 : 6 +6 CLMIB_RMCA.xe30 : 1 +1 CLMIB_RBCA.xe30 : 5 +5 CLMIB_RPOK.xe30 : 6 +6 CLMIB_RBYT.xe30 : 560 +560 CLMIB_T64.xe30 : 3 +3 CLMIB_T255.xe30 : 1 +1 CLMIB_TPOK.xe30 : 4 +4 CLMIB_TPKT.xe30 : 4 +4 CLMIB_TMCA.xe30 : 1 +1 CLMIB_TBCA.xe30 : 3 +3 CLMIB_TBYT.xe30 : 432 +432 CLMIB_RPROG0.xe30 : 5 +5 UC_PERQ_PKT(7).xe30 : 4 +4 UC_PERQ_BYTE(7).xe30 : 432 +432 CLMIB_R64.xe31 : 3 +3 CLMIB_R255.xe31 : 1 +1 CLMIB_RPKT.xe31 : 4 +4 CLMIB_RMCA.xe31 : 1 +1 CLMIB_RBCA.xe31 : 3 +3 CLMIB_RPOK.xe31 : 4 +4 CLMIB_RBYT.xe31 : 432 +432 CLMIB_T64.xe31 : 5 +5 CLMIB_T255.xe31 : 1 +1 CLMIB_TPOK.xe31 : 6 +6 CLMIB_TPKT.xe31 : 6 +6 CLMIB_TMCA.xe31 : 1 +1 CLMIB_TBCA.xe31 : 5 +5 CLMIB_TBYT.xe31 : 560 +560 CLMIB_RPROG0.xe31 : 3 +3 UC_PERQ_PKT(7).xe31 : 6 +6 UC_PERQ_BYTE(7).xe31 : 560 +560 drivshell>clear c clear c drivshell>tx 1000 pbm=xe4 tx 1000 pbm=xe4 drivshell>show c xe5 show c xe5 RUC_64.xe5 : 1,000 +1,000 RDBGC0_64.xe5 : 1,000 +1,000 RDBGC3_64.xe5 : 1,000 +1,000 ING_NIV_RX_FRAMES_VL.xe5 : 1,000 +1,000 CLMIB_R127.xe5 : 1,000 +1,000 CLMIB_RPKT.xe5 : 1,000 +1,000 CLMIB_RUCA.xe5 : 1,000 +1,000 CLMIB_RPRM.xe5 : 1,000 +1,000 CLMIB_RVLN.xe5 : 1,000 +1,000 CLMIB_RPOK.xe5 : 1,000 +1,000 CLMIB_RBYT.xe5 : 68,000 +68,000 CLMIB_RPROG0.xe5 : 1,000 +1,000 drivshell>root@sonic:/home/admin# 7. Insert the QSFP+ 3M DAC between 1/7,1/8 (xe6,xe7) and check the preemp root@sonic:/home/admin# root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet24 1) "alias" 2) "fortyGigE1/7" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "97,98,99,100" 9) "index" 10) "7" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x43f04,0x43f04,0x43f04,0x43f04" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet28 1) "alias" 2) "fortyGigE1/8" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "101,102,103,104" 9) "index" 10) "8" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x43f04,0x43f04,0x43f04,0x43f04" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe6 TXFIR_CTL1r.$ind" > bcmcmd "phy xe6 TXFIR_CTL0r.$ind" > done lane:0 phy xe6 TXFIR_CTL1r.0 Port xe6: TXFIR_CTL1r.0 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe6 TXFIR_CTL0r.0 Port xe6: TXFIR_CTL0r.0 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:1 phy xe6 TXFIR_CTL1r.1 Port xe6: TXFIR_CTL1r.1 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe6 TXFIR_CTL0r.1 Port xe6: TXFIR_CTL0r.1 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:2 phy xe6 TXFIR_CTL1r.2 Port xe6: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe6 TXFIR_CTL0r.2 Port xe6: TXFIR_CTL0r.2 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:3 phy xe6 TXFIR_CTL1r.3 Port xe6: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe6 TXFIR_CTL0r.3 Port xe6: TXFIR_CTL0r.3 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe7 TXFIR_CTL1r.$ind" > bcmcmd "phy xe7 TXFIR_CTL0r.$ind" > done lane:0 phy xe7 TXFIR_CTL1r.0 Port xe7: TXFIR_CTL1r.0 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe7 TXFIR_CTL0r.0 Port xe7: TXFIR_CTL0r.0 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:1 phy xe7 TXFIR_CTL1r.1 Port xe7: TXFIR_CTL1r.1 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe7 TXFIR_CTL0r.1 Port xe7: TXFIR_CTL0r.1 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:2 phy xe7 TXFIR_CTL1r.2 Port xe7: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe7 TXFIR_CTL0r.2 Port xe7: TXFIR_CTL0r.2 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> lane:3 phy xe7 TXFIR_CTL1r.3 Port xe7: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe7 TXFIR_CTL0r.3 Port xe7: TXFIR_CTL0r.3 [0x7001d130] = 0x003f TXFIR_MAIN<6:0>=0x3f drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>clear c clear c drivshell>tx 1000 pbm=xe6 tx 1000 pbm=xe6 drivshell>show c xe7 show c xe7 RUC_64.xe7 : 1,000 +1,000 RDBGC0_64.xe7 : 1,000 +1,000 RDBGC3_64.xe7 : 1,000 +1,000 ING_NIV_RX_FRAMES_VL.xe7 : 1,000 +1,000 CLMIB_R127.xe7 : 1,000 +1,000 CLMIB_R255.xe7 : 1 +1 CLMIB_RPKT.xe7 : 1,001 +1,001 CLMIB_RUCA.xe7 : 1,000 +1,000 CLMIB_RMCA.xe7 : 1 +1 CLMIB_RPRM.xe7 : 1,000 +1,000 CLMIB_RVLN.xe7 : 1,000 +1,000 CLMIB_RPOK.xe7 : 1,001 +1,001 CLMIB_RBYT.xe7 : 68,238 +68,238 CLMIB_T255.xe7 : 1 +1 CLMIB_TPOK.xe7 : 1 +1 CLMIB_TPKT.xe7 : 1 +1 CLMIB_TMCA.xe7 : 1 +1 CLMIB_TBYT.xe7 : 238 +238 CLMIB_RPROG0.xe7 : 1,000 +1,000 UC_PERQ_PKT(7).xe7 : 1 +1 UC_PERQ_BYTE(7).xe7 : 238 +238 drivshell>root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# 8. Insert the QSFP+ 7M DAC between 1/11,1/12 (xe10,xe11) and check the preemp root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet40 1) "alias" 2) "fortyGigE1/11" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "17,18,19,20" 9) "index" 10) "11" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x55005,0x55005,0x55005,0x55005" root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet44 1) "alias" 2) "fortyGigE1/12" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "21,22,23,24" 9) "index" 10) "12" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54605,0x54605,0x54605,0x54605" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe10 TXFIR_CTL1r.$ind" > bcmcmd "phy xe10 TXFIR_CTL0r.$ind" > done lane:0 phy xe10 TXFIR_CTL1r.0 Port xe10: TXFIR_CTL1r.0 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe10 TXFIR_CTL0r.0 Port xe10: TXFIR_CTL0r.0 [0x7001d130] = 0x0050 TXFIR_MAIN<6:0>=0x50 drivshell> lane:1 phy xe10 TXFIR_CTL1r.1 Port xe10: TXFIR_CTL1r.1 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe10 TXFIR_CTL0r.1 Port xe10: TXFIR_CTL0r.1 [0x7001d130] = 0x0050 TXFIR_MAIN<6:0>=0x50 drivshell> lane:2 phy xe10 TXFIR_CTL1r.2 Port xe10: TXFIR_CTL1r.2 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe10 TXFIR_CTL0r.2 Port xe10: TXFIR_CTL0r.2 [0x7001d130] = 0x0050 TXFIR_MAIN<6:0>=0x50 drivshell> lane:3 phy xe10 TXFIR_CTL1r.3 Port xe10: TXFIR_CTL1r.3 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe10 TXFIR_CTL0r.3 Port xe10: TXFIR_CTL0r.3 [0x7001d130] = 0x0050 TXFIR_MAIN<6:0>=0x50 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe11 TXFIR_CTL1r.$ind" > bcmcmd "phy xe11 TXFIR_CTL0r.$ind" > done lane:0 phy xe11 TXFIR_CTL1r.0 Port xe11: TXFIR_CTL1r.0 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe11 TXFIR_CTL0r.0 Port xe11: TXFIR_CTL0r.0 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:1 phy xe11 TXFIR_CTL1r.1 Port xe11: TXFIR_CTL1r.1 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe11 TXFIR_CTL0r.1 Port xe11: TXFIR_CTL0r.1 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:2 phy xe11 TXFIR_CTL1r.2 Port xe11: TXFIR_CTL1r.2 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe11 TXFIR_CTL0r.2 Port xe11: TXFIR_CTL0r.2 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> lane:3 phy xe11 TXFIR_CTL1r.3 Port xe11: TXFIR_CTL1r.3 [0x7001d131] = 0x0505 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x5 drivshell> phy xe11 TXFIR_CTL0r.3 Port xe11: TXFIR_CTL0r.3 [0x7001d130] = 0x0046 TXFIR_MAIN<6:0>=0x46 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# ^C root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# show int status Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- ------------- ------ ------ ------- --------------- ---------- Ethernet0 49,50,51,52 N/A 9100 fortyGigE1/1 routed up up QSFP+ or later N/A Ethernet4 53,54,55,56 N/A 9100 fortyGigE1/2 routed up up QSFP+ or later N/A Ethernet8 65,66,67,68 N/A 9100 fortyGigE1/3 routed up up QSFP+ or later N/A Ethernet12 69,70,71,72 N/A 9100 fortyGigE1/4 routed up up QSFP+ or later N/A Ethernet16 81,82,83,84 N/A 9100 fortyGigE1/5 routed up up QSFP+ or later N/A Ethernet20 85,86,87,88 N/A 9100 fortyGigE1/6 routed up up QSFP+ or later N/A Ethernet24 97,98,99,100 N/A 9100 fortyGigE1/7 routed up up QSFP+ or later N/A Ethernet28 101,102,103,104 N/A 9100 fortyGigE1/8 routed up up QSFP+ or later N/A Ethernet32 1,2,3,4 N/A 9100 fortyGigE1/9 routed up up QSFP+ or later N/A Ethernet36 5,6,7,8 N/A 9100 fortyGigE1/10 routed up up QSFP+ or later N/A Ethernet40 17,18,19,20 N/A 9100 fortyGigE1/11 routed up up QSFP+ or later N/A Ethernet44 21,22,23,24 N/A 9100 fortyGigE1/12 routed up up QSFP+ or later N/A Ethernet48 33,34,35,36 N/A 9100 fortyGigE1/13 routed down up N/A N/A Ethernet52 37,38,39,40 N/A 9100 fortyGigE1/14 routed down up N/A N/A Ethernet56 113,114,115,116 N/A 9100 fortyGigE1/15 routed down up N/A N/A Ethernet60 117,118,119,120 N/A 9100 fortyGigE1/16 routed down up N/A N/A Ethernet64 133,134,135,136 N/A 9100 fortyGigE1/17 routed down up N/A N/A Ethernet68 129,130,131,132 N/A 9100 fortyGigE1/18 routed down up N/A N/A Ethernet72 213,214,215,216 N/A 9100 fortyGigE1/19 routed down up N/A N/A Ethernet76 209,210,211,212 N/A 9100 fortyGigE1/20 routed down up N/A N/A Ethernet80 229,230,231,232 N/A 9100 fortyGigE1/21 routed down up N/A N/A Ethernet84 225,226,227,228 N/A 9100 fortyGigE1/22 routed down up N/A N/A Ethernet88 245,246,247,248 N/A 9100 fortyGigE1/23 routed down up N/A N/A Ethernet92 241,242,243,244 N/A 9100 fortyGigE1/24 routed down up N/A N/A Ethernet96 149,150,151,152 N/A 9100 fortyGigE1/25 routed down up N/A N/A Ethernet100 145,146,147,148 N/A 9100 fortyGigE1/26 routed down up N/A N/A Ethernet104 165,166,167,168 N/A 9100 fortyGigE1/27 routed down up N/A N/A Ethernet108 161,162,163,164 N/A 9100 fortyGigE1/28 routed down up N/A N/A Ethernet112 181,182,183,184 N/A 9100 fortyGigE1/29 routed up up QSFP28 or later N/A Ethernet116 177,178,179,180 N/A 9100 fortyGigE1/30 routed up up QSFP28 or later N/A Ethernet120 197,198,199,200 N/A 9100 fortyGigE1/31 routed up up QSFP28 or later N/A Ethernet124 193,194,195,196 N/A 9100 fortyGigE1/32 routed up up QSFP28 or later N/A Ethernet128 61,62,63,64 N/A 9100 fortyGigE1/33 routed down up N/A N/A Ethernet132 57,58,59,60 N/A 9100 fortyGigE1/34 routed down up N/A N/A Ethernet136 77,78,79,80 N/A 9100 fortyGigE1/35 routed down up N/A N/A Ethernet140 73,74,75,76 N/A 9100 fortyGigE1/36 routed down up N/A N/A Ethernet144 93,94,95,96 N/A 9100 fortyGigE1/37 routed down up N/A N/A Ethernet148 89,90,91,92 N/A 9100 fortyGigE1/38 routed down up N/A N/A Ethernet152 109,110,111,112 N/A 9100 fortyGigE1/39 routed down up N/A N/A Ethernet156 105,106,107,108 N/A 9100 fortyGigE1/40 routed down up N/A N/A Ethernet160 13,14,15,16 N/A 9100 fortyGigE1/41 routed down up N/A N/A Ethernet164 9,10,11,12 N/A 9100 fortyGigE1/42 routed down up N/A N/A Ethernet168 29,30,31,32 N/A 9100 fortyGigE1/43 routed down up N/A N/A Ethernet172 25,26,27,28 N/A 9100 fortyGigE1/44 routed down up N/A N/A Ethernet176 45,46,47,48 N/A 9100 fortyGigE1/45 routed down up N/A N/A Ethernet180 41,42,43,44 N/A 9100 fortyGigE1/46 routed down up N/A N/A Ethernet184 125,126,127,128 N/A 9100 fortyGigE1/47 routed down up N/A N/A Ethernet188 121,122,123,124 N/A 9100 fortyGigE1/48 routed down up N/A N/A Ethernet192 137,138,139,140 N/A 9100 fortyGigE1/49 routed down up N/A N/A Ethernet196 141,142,143,144 N/A 9100 fortyGigE1/50 routed down up N/A N/A Ethernet200 217,218,219,220 N/A 9100 fortyGigE1/51 routed down up N/A N/A Ethernet204 221,222,223,224 N/A 9100 fortyGigE1/52 routed down up N/A N/A Ethernet208 233,234,235,236 N/A 9100 fortyGigE1/53 routed down up N/A N/A Ethernet212 237,238,239,240 N/A 9100 fortyGigE1/54 routed down up N/A N/A Ethernet216 249,250,251,252 N/A 9100 fortyGigE1/55 routed down up N/A N/A Ethernet220 253,254,255,256 N/A 9100 fortyGigE1/56 routed down up QSFP28 or later N/A Ethernet224 153,154,155,156 N/A 9100 fortyGigE1/57 routed down up N/A N/A Ethernet228 157,158,159,160 N/A 9100 fortyGigE1/58 routed down up N/A N/A Ethernet232 169,170,171,172 N/A 9100 fortyGigE1/59 routed down up N/A N/A Ethernet236 173,174,175,176 N/A 9100 fortyGigE1/60 routed down up N/A N/A Ethernet240 185,186,187,188 N/A 9100 fortyGigE1/61 routed down up N/A N/A Ethernet244 189,190,191,192 N/A 9100 fortyGigE1/62 routed down up N/A N/A Ethernet248 201,202,203,204 N/A 9100 fortyGigE1/63 routed down up N/A N/A Ethernet252 205,206,207,208 N/A 9100 fortyGigE1/64 routed down up N/A N/A root@sonic:/home/admin# 9. Insert the QSFP+ 5M DAC between 1/9,1/10 (xe8,xe9) and check the preemp root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet32 1) "alias" 2) "fortyGigE1/9" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "1,2,3,4" 9) "index" 10) "9" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54802,0x54802,0x54802,0x54802" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet36 1) "alias" 2) "fortyGigE1/10" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "5,6,7,8" 9) "index" 10) "10" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x54802,0x54802,0x54802,0x54802" root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# redis-cli -n 0 hgetall PORT_TABLE:Ethernet36^C root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe8 TXFIR_CTL1r.$ind" > bcmcmd "phy xe8 TXFIR_CTL0r.$ind" > done lane:0 phy xe8 TXFIR_CTL1r.0 Port xe8: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe8 TXFIR_CTL0r.0 Port xe8: TXFIR_CTL0r.0 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:1 phy xe8 TXFIR_CTL1r.1 Port xe8: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe8 TXFIR_CTL0r.1 Port xe8: TXFIR_CTL0r.1 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:2 phy xe8 TXFIR_CTL1r.2 Port xe8: TXFIR_CTL1r.2 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe8 TXFIR_CTL0r.2 Port xe8: TXFIR_CTL0r.2 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:3 phy xe8 TXFIR_CTL1r.3 Port xe8: TXFIR_CTL1r.3 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe8 TXFIR_CTL0r.3 Port xe8: TXFIR_CTL0r.3 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe9 TXFIR_CTL1r.$ind" > bcmcmd "phy xe9 TXFIR_CTL0r.$ind" > done lane:0 phy xe9 TXFIR_CTL1r.0 Port xe9: TXFIR_CTL1r.0 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe9 TXFIR_CTL0r.0 Port xe9: TXFIR_CTL0r.0 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:1 phy xe9 TXFIR_CTL1r.1 Port xe9: TXFIR_CTL1r.1 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe9 TXFIR_CTL0r.1 Port xe9: TXFIR_CTL0r.1 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:2 phy xe9 TXFIR_CTL1r.2 Port xe9: TXFIR_CTL1r.2 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe9 TXFIR_CTL0r.2 Port xe9: TXFIR_CTL0r.2 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> lane:3 phy xe9 TXFIR_CTL1r.3 Port xe9: TXFIR_CTL1r.3 [0x7001d131] = 0x0205 TXFIR_POST1<5:0>=0x5 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe9 TXFIR_CTL0r.3 Port xe9: TXFIR_CTL0r.3 [0x7001d130] = 0x0048 TXFIR_MAIN<6:0>=0x48 drivshell> root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>clear c clear c drivshell>tx 2000 pbm=xe8 tx 2000 pbm=xe8 drivshell>show c xe9 show c xe9 RUC_64.xe9 : 2,000 +2,000 RDBGC0_64.xe9 : 2,000 +2,000 RDBGC3_64.xe9 : 2,000 +2,000 ING_NIV_RX_FRAMES_VL.xe9 : 2,000 +2,000 CLMIB_R127.xe9 : 2,000 +2,000 CLMIB_R255.xe9 : 2 +2 CLMIB_RPKT.xe9 : 2,002 +2,002 CLMIB_RUCA.xe9 : 2,000 +2,000 CLMIB_RMCA.xe9 : 2 +2 CLMIB_RPRM.xe9 : 2,000 +2,000 CLMIB_RVLN.xe9 : 2,000 +2,000 CLMIB_RPOK.xe9 : 2,002 +2,002 CLMIB_RBYT.xe9 : 136,476 +136,476 CLMIB_T255.xe9 : 2 +2 CLMIB_TPOK.xe9 : 2 +2 CLMIB_TPKT.xe9 : 2 +2 CLMIB_TMCA.xe9 : 2 +2 CLMIB_TBYT.xe9 : 478 +478 CLMIB_RPROG0.xe9 : 2,000 +2,000 UC_PERQ_PKT(7).xe9 : 2 +2 UC_PERQ_BYTE(7).xe9 : 478 +478 drivshell>root@sonic:/home/admin# root@sonic:/home/admin# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>ps xe8,xe9 ps xe8,xe9 ena/ speed/ link auto STP lrn inter max cut loop port link Lns duplex scan neg? state pause discrd ops face frame thru? back xe8( 1) up 4 40G FD SW No Forward None F XLAUI 9122 No xe9( 2) up 4 40G FD SW No Forward None F XLAUI 9122 No drivshell>root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# root@sonic:/home/admin# show int status Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- ------------- ------ ------ ------- --------------- ---------- Ethernet0 49,50,51,52 N/A 9100 fortyGigE1/1 routed up up QSFP+ or later N/A Ethernet4 53,54,55,56 N/A 9100 fortyGigE1/2 routed up up QSFP+ or later N/A Ethernet8 65,66,67,68 N/A 9100 fortyGigE1/3 routed up up QSFP+ or later N/A Ethernet12 69,70,71,72 N/A 9100 fortyGigE1/4 routed up up QSFP+ or later N/A Ethernet16 81,82,83,84 N/A 9100 fortyGigE1/5 routed up up QSFP+ or later N/A Ethernet20 85,86,87,88 N/A 9100 fortyGigE1/6 routed up up QSFP+ or later N/A Ethernet24 97,98,99,100 N/A 9100 fortyGigE1/7 routed up up QSFP+ or later N/A Ethernet28 101,102,103,104 N/A 9100 fortyGigE1/8 routed up up QSFP+ or later N/A Ethernet32 1,2,3,4 N/A 9100 fortyGigE1/9 routed up up QSFP+ or later N/A Ethernet36 5,6,7,8 N/A 9100 fortyGigE1/10 routed up up QSFP+ or later N/A Ethernet40 17,18,19,20 N/A 9100 fortyGigE1/11 routed up up QSFP+ or later N/A Ethernet44 21,22,23,24 N/A 9100 fortyGigE1/12 routed up up QSFP+ or later N/A Ethernet48 33,34,35,36 N/A 9100 fortyGigE1/13 routed up up QSFP+ or later N/A Ethernet52 37,38,39,40 N/A 9100 fortyGigE1/14 routed up up QSFP+ or later N/A Ethernet56 113,114,115,116 N/A 9100 fortyGigE1/15 routed down up N/A N/A Ethernet60 117,118,119,120 N/A 9100 fortyGigE1/16 routed down up N/A N/A Ethernet64 133,134,135,136 N/A 9100 fortyGigE1/17 routed down up N/A N/A Ethernet68 129,130,131,132 N/A 9100 fortyGigE1/18 routed down up N/A N/A Ethernet72 213,214,215,216 N/A 9100 fortyGigE1/19 routed down up N/A N/A Ethernet76 209,210,211,212 N/A 9100 fortyGigE1/20 routed down up N/A N/A Ethernet80 229,230,231,232 N/A 9100 fortyGigE1/21 routed down up N/A N/A Ethernet84 225,226,227,228 N/A 9100 fortyGigE1/22 routed down up N/A N/A Ethernet88 245,246,247,248 N/A 9100 fortyGigE1/23 routed down up N/A N/A Ethernet92 241,242,243,244 N/A 9100 fortyGigE1/24 routed down up N/A N/A Ethernet96 149,150,151,152 N/A 9100 fortyGigE1/25 routed down up N/A N/A Ethernet100 145,146,147,148 N/A 9100 fortyGigE1/26 routed down up N/A N/A Ethernet104 165,166,167,168 N/A 9100 fortyGigE1/27 routed down up N/A N/A Ethernet108 161,162,163,164 N/A 9100 fortyGigE1/28 routed down up N/A N/A Ethernet112 181,182,183,184 N/A 9100 fortyGigE1/29 routed up up QSFP28 or later N/A Ethernet116 177,178,179,180 N/A 9100 fortyGigE1/30 routed up up QSFP28 or later N/A Ethernet120 197,198,199,200 N/A 9100 fortyGigE1/31 routed up up QSFP28 or later N/A Ethernet124 193,194,195,196 N/A 9100 fortyGigE1/32 routed up up QSFP28 or later N/A Ethernet128 61,62,63,64 N/A 9100 fortyGigE1/33 routed down up N/A N/A Ethernet132 57,58,59,60 N/A 9100 fortyGigE1/34 routed down up N/A N/A Ethernet136 77,78,79,80 N/A 9100 fortyGigE1/35 routed down up N/A N/A Ethernet140 73,74,75,76 N/A 9100 fortyGigE1/36 routed down up N/A N/A Ethernet144 93,94,95,96 N/A 9100 fortyGigE1/37 routed down up N/A N/A Ethernet148 89,90,91,92 N/A 9100 fortyGigE1/38 routed down up N/A N/A Ethernet152 109,110,111,112 N/A 9100 fortyGigE1/39 routed down up N/A N/A Ethernet156 105,106,107,108 N/A 9100 fortyGigE1/40 routed down up N/A N/A Ethernet160 13,14,15,16 N/A 9100 fortyGigE1/41 routed down up N/A N/A Ethernet164 9,10,11,12 N/A 9100 fortyGigE1/42 routed down up N/A N/A Ethernet168 29,30,31,32 N/A 9100 fortyGigE1/43 routed down up N/A N/A Ethernet172 25,26,27,28 N/A 9100 fortyGigE1/44 routed down up N/A N/A Ethernet176 45,46,47,48 N/A 9100 fortyGigE1/45 routed down up N/A N/A Ethernet180 41,42,43,44 N/A 9100 fortyGigE1/46 routed down up N/A N/A Ethernet184 125,126,127,128 N/A 9100 fortyGigE1/47 routed down up N/A N/A Ethernet188 121,122,123,124 N/A 9100 fortyGigE1/48 routed down up N/A N/A Ethernet192 137,138,139,140 N/A 9100 fortyGigE1/49 routed down up N/A N/A Ethernet196 141,142,143,144 N/A 9100 fortyGigE1/50 routed down up N/A N/A Ethernet200 217,218,219,220 N/A 9100 fortyGigE1/51 routed down up N/A N/A Ethernet204 221,222,223,224 N/A 9100 fortyGigE1/52 routed down up N/A N/A Ethernet208 233,234,235,236 N/A 9100 fortyGigE1/53 routed down up N/A N/A Ethernet212 237,238,239,240 N/A 9100 fortyGigE1/54 routed down up N/A N/A Ethernet216 249,250,251,252 N/A 9100 fortyGigE1/55 routed down up N/A N/A Ethernet220 253,254,255,256 N/A 9100 fortyGigE1/56 routed down up QSFP28 or later N/A Ethernet224 153,154,155,156 N/A 9100 fortyGigE1/57 routed down up N/A N/A Ethernet228 157,158,159,160 N/A 9100 fortyGigE1/58 routed down up N/A N/A Ethernet232 169,170,171,172 N/A 9100 fortyGigE1/59 routed down up N/A N/A Ethernet236 173,174,175,176 N/A 9100 fortyGigE1/60 routed down up N/A N/A Ethernet240 185,186,187,188 N/A 9100 fortyGigE1/61 routed down up N/A N/A Ethernet244 189,190,191,192 N/A 9100 fortyGigE1/62 routed down up N/A N/A Ethernet248 201,202,203,204 N/A 9100 fortyGigE1/63 routed down up N/A N/A Ethernet252 205,206,207,208 N/A 9100 fortyGigE1/64 routed down up N/A N/A 10. Insert the QSFP SR4 optics between 1/13,1/14 (xe12,xe13) and check the preemp root@sonic:/# redis-cli -n 0 hgetall PORT_TABLE:Ethernet48 1) "alias" 2) "fortyGigE1/13" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "33,34,35,36" 9) "index" 10) "13" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x93202,0x93202,0xa3202,0xa3401" root@sonic:/# redis-cli -n 0 hgetall PORT_TABLE:Ethernet52 1) "alias" 2) "fortyGigE1/14" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "37,38,39,40" 9) "index" 10) "14" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x72e02,0x73100,0x73000,0x73100" root@sonic:/# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe12 TXFIR_CTL1r.$ind" > bcmcmd "phy xe12 TXFIR_CTL0r.$ind" > done lane:0 phy xe12 TXFIR_CTL1r.0 Port xe12: TXFIR_CTL1r.0 [0x7001d131] = 0x0209 TXFIR_POST1<5:0>=0x9 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe12 TXFIR_CTL0r.0 Port xe12: TXFIR_CTL0r.0 [0x7001d130] = 0x0032 TXFIR_MAIN<6:0>=0x32 drivshell> lane:1 phy xe12 TXFIR_CTL1r.1 Port xe12: TXFIR_CTL1r.1 [0x7001d131] = 0x0209 TXFIR_POST1<5:0>=0x9 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe12 TXFIR_CTL0r.1 Port xe12: TXFIR_CTL0r.1 [0x7001d130] = 0x0032 TXFIR_MAIN<6:0>=0x32 drivshell> lane:2 phy xe12 TXFIR_CTL1r.2 Port xe12: TXFIR_CTL1r.2 [0x7001d131] = 0x020a TXFIR_POST1<5:0>=0xa TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe12 TXFIR_CTL0r.2 Port xe12: TXFIR_CTL0r.2 [0x7001d130] = 0x0032 TXFIR_MAIN<6:0>=0x32 drivshell> lane:3 phy xe12 TXFIR_CTL1r.3 Port xe12: TXFIR_CTL1r.3 [0x7001d131] = 0x010a TXFIR_POST1<5:0>=0xa TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x1 drivshell> phy xe12 TXFIR_CTL0r.3 Port xe12: TXFIR_CTL0r.3 [0x7001d130] = 0x0034 TXFIR_MAIN<6:0>=0x34 drivshell> root@sonic:/# for ind in $(seq 0 3); do done> echo "lane:"$ind > bcmcmd "phy xe13 TXFIR_CTL1r.$ind" > bcmcmd "phy xe13 TXFIR_CTL0r.$ind" > done lane:0 phy xe13 TXFIR_CTL1r.0 Port xe13: TXFIR_CTL1r.0 [0x7001d131] = 0x0207 TXFIR_POST1<5:0>=0x7 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x2 drivshell> phy xe13 TXFIR_CTL0r.0 Port xe13: TXFIR_CTL0r.0 [0x7001d130] = 0x002e TXFIR_MAIN<6:0>=0x2e drivshell> lane:1 phy xe13 TXFIR_CTL1r.1 Port xe13: TXFIR_CTL1r.1 [0x7001d131] = 0x0007 TXFIR_POST1<5:0>=0x7 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x0 drivshell> phy xe13 TXFIR_CTL0r.1 Port xe13: TXFIR_CTL0r.1 [0x7001d130] = 0x0031 TXFIR_MAIN<6:0>=0x31 drivshell> lane:2 phy xe13 TXFIR_CTL1r.2 Port xe13: TXFIR_CTL1r.2 [0x7001d131] = 0x0007 TXFIR_POST1<5:0>=0x7 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x0 drivshell> phy xe13 TXFIR_CTL0r.2 Port xe13: TXFIR_CTL0r.2 [0x7001d130] = 0x0030 TXFIR_MAIN<6:0>=0x30 drivshell> lane:3 phy xe13 TXFIR_CTL1r.3 Port xe13: TXFIR_CTL1r.3 [0x7001d131] = 0x0007 TXFIR_POST1<5:0>=0x7 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x0 drivshell> phy xe13 TXFIR_CTL0r.3 Port xe13: TXFIR_CTL0r.3 [0x7001d130] = 0x0031 TXFIR_MAIN<6:0>=0x31 drivshell> root@sonic:/# root@sonic:/# root@sonic:/# root@sonic:/# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>ps xe12,xe13 ps xe12,xe13 ena/ speed/ link auto STP lrn inter max cut loop port link Lns duplex scan neg? state pause discrd ops face frame thru? back xe12( 9) up 4 40G FD SW No Forward None F XLAUI 9122 No xe13( 10) up 4 40G FD SW No Forward None F XLAUI 9122 No drivshell>clear c clear c drivshell>tx 3000 pbm=xe12 tx 3000 pbm=xe12 drivshell>show c xe13 show c xe13 RUC_64.xe13 : 3,000 +3,000 RDBGC0_64.xe13 : 3,000 +3,000 RDBGC3_64.xe13 : 3,000 +3,000 ING_NIV_RX_FRAMES_VL.xe13 : 3,000 +3,000 CLMIB_R127.xe13 : 3,000 +3,000 CLMIB_RPKT.xe13 : 3,000 +3,000 CLMIB_RUCA.xe13 : 3,000 +3,000 CLMIB_RPRM.xe13 : 3,000 +3,000 CLMIB_RVLN.xe13 : 3,000 +3,000 CLMIB_RPOK.xe13 : 3,000 +3,000 CLMIB_RBYT.xe13 : 204,000 +204,000 CLMIB_RPROG0.xe13 : 3,000 +3,000 11. Insert the QSFP+ .5M DAC between 1/15,1/16 (xe14,xe15) and check the preemp root@sonic:/# redis-cli -n 0 hgetall PORT_TABLE:Ethernet56 1) "alias" 2) "fortyGigE1/15" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "113,114,115,116" 9) "index" 10) "15" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x43704,0x43704,0x43704,0x43704" root@sonic:/# redis-cli -n 0 hgetall PORT_TABLE:Ethernet60 1) "alias" 2) "fortyGigE1/16" 3) "admin_status" 4) "up" 5) "mtu" 6) "9100" 7) "lanes" 8) "117,118,119,120" 9) "index" 10) "16" 11) "oper_status" 12) "up" 13) "preemphasis" 14) "0x43704,0x43704,0x43704,0x43704" root@sonic:/# root@sonic:/# root@sonic:/# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe14 TXFIR_CTL1r.$ind" > bcmcmd "phy xe14 TXFIR_CTL0r.$ind" > done lane:0 phy xe14 TXFIR_CTL1r.0 Port xe14: TXFIR_CTL1r.0 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe14 TXFIR_CTL0r.0 Port xe14: TXFIR_CTL0r.0 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:1 phy xe14 TXFIR_CTL1r.1 Port xe14: TXFIR_CTL1r.1 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe14 TXFIR_CTL0r.1 Port xe14: TXFIR_CTL0r.1 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:2 phy xe14 TXFIR_CTL1r.2 Port xe14: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe14 TXFIR_CTL0r.2 Port xe14: TXFIR_CTL0r.2 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:3 phy xe14 TXFIR_CTL1r.3 Port xe14: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe14 TXFIR_CTL0r.3 Port xe14: TXFIR_CTL0r.3 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> root@sonic:/# root@sonic:/# root@sonic:/# for ind in $(seq 0 3); do > echo "lane:"$ind > bcmcmd "phy xe15 TXFIR_CTL1r.$ind" > bcmcmd "phy xe15 TXFIR_CTL0r.$ind" > done lane:0 phy xe15 TXFIR_CTL1r.0 Port xe15: TXFIR_CTL1r.0 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe15 TXFIR_CTL0r.0 Port xe15: TXFIR_CTL0r.0 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:1 phy xe15 TXFIR_CTL1r.1 Port xe15: TXFIR_CTL1r.1 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe15 TXFIR_CTL0r.1 Port xe15: TXFIR_CTL0r.1 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:2 phy xe15 TXFIR_CTL1r.2 Port xe15: TXFIR_CTL1r.2 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe15 TXFIR_CTL0r.2 Port xe15: TXFIR_CTL0r.2 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> lane:3 phy xe15 TXFIR_CTL1r.3 Port xe15: TXFIR_CTL1r.3 [0x7001d131] = 0x0404 TXFIR_POST1<5:0>=0x4 TXFIR_SIGN_POST1<6>=0x0 TXFIR_PRE<12:8>=0x4 drivshell> phy xe15 TXFIR_CTL0r.3 Port xe15: TXFIR_CTL0r.3 [0x7001d130] = 0x0037 TXFIR_MAIN<6:0>=0x37 drivshell> root@sonic:/# bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell> drivshell>tx 5000 pbm=xe14 tx 5000 pbm=xe14 drivshell>show c xe15 show c xe15 RUC_64.xe15 : 5,000 +5,000 RDBGC0_64.xe15 : 5,000 +5,000 RDBGC3_64.xe15 : 5,000 +5,000 ING_NIV_RX_FRAMES_VL.xe15 : 5,000 +5,000 CLMIB_R64.xe15 : 61 +61 CLMIB_R127.xe15 : 5,000 +5,000 CLMIB_R255.xe15 : 46 +46 CLMIB_RPKT.xe15 : 5,107 +5,107 CLMIB_RUCA.xe15 : 5,000 +5,000 CLMIB_RMCA.xe15 : 47 +47 CLMIB_RBCA.xe15 : 60 +60 CLMIB_RPRM.xe15 : 5,000 +5,000 CLMIB_RVLN.xe15 : 5,000 +5,000 CLMIB_RPOK.xe15 : 5,107 +5,107 CLMIB_RBYT.xe15 : 354,471 +354,471 CLMIB_T64.xe15 : 61 +61 CLMIB_T255.xe15 : 46 +46 CLMIB_TPOK.xe15 : 107 +107 CLMIB_TPKT.xe15 : 107 +107 CLMIB_TMCA.xe15 : 47 +47 CLMIB_TBCA.xe15 : 60 +60 CLMIB_TBYT.xe15 : 14,471 +14,471 CLMIB_RPROG0.xe15 : 5,061 +5,061 UC_PERQ_PKT(7).xe15 : 107 +107 UC_PERQ_BYTE(7).xe15 : 14,471 +14,471 drivshell>