BCM56771 ASIC support for 1000BASE-X auto negotiation

96 views
Skip to first unread message

Abdelmuhaimen Seaudi

unread,
Jul 8, 2022, 4:41:26 PM7/8/22
to sonicproject
Hello

We are trying to enable auto negotiation for 1G FIBER, 1000BASE-X Auto Negotiation, on an EdgeCore AS5835-54X, without success.

Any idea if the Broadcom ASIC BCM56771 Trident 3, supports 1000BASE-X Auto Negotiation ? 

Do we need to configure something to make it work ?


admin@localhost:~$ sudo config interface autoneg Ethernet0 enabled
Jul  8 20:40:23.933491 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG(): Updating global cache for table PORT with key Ethernet0
Jul  8 20:40:23.933706 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG(): Updating global cache for table PORT
Jul  8 20:40:23.933913 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.934010 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.933161592 +0000 UTC m=+519208.295156638, Entered fetchToTmpCache
Jul  8 20:40:23.934108 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.934229 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.933208144 +0000 UTC m=+519208.295203200, Entered fetchTableDataToTmpCache
Jul  8 20:40:23.934323 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG(): Returning data from request cache, data = map[], merge needed = false
Jul  8 20:40:23.935808 localhost INFO swss#portmgrd: :- isPortStateOk: Port Ethernet0 is ready
Jul  8 20:40:23.936102 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.936213 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.935531359 +0000 UTC m=+519208.297526398, Exiting fetchTableDataToTmpCache
Jul  8 20:40:23.936306 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.936417 localhost INFO mgmt-framework#/supervisord: rest-server Top Node={"PORT":{"Ethernet0":{"admin_status":"up","alias":"tenGigE1","autoneg":"on","index":"1","lanes":"1","mtu":"9100","speed":"10000"}}}
Jul  8 20:40:23.936521 localhost INFO mgmt-framework#/supervisord: rest-server
Jul  8 20:40:23.936644 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG(): Top Node=PORT
Jul  8 20:40:23.936896 localhost INFO mgmt-framework#/supervisord: rest-server
Jul  8 20:40:23.937157 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG(): Starting batch leaf creation - [0xc003ec06e0 0xc003ec0760 0xc003ec0840 0xc003ec08e0 0xc003ec0900 0xc003ec0920 0xc003ec09a0 0xc003ec09c0]
Jul  8 20:40:23.937264 localhost INFO mgmt-framework#/supervisord: rest-server
Jul  8 20:40:23.937365 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/internal/yparser/yparser.go:369 github.com/Azure/sonic-mgmt-common/cvl/internal/yparser.TRACE_LOG():
Jul  8 20:40:23.937488 localhost INFO mgmt-framework#/supervisord: rest-server libyang[0]: Failed to find "autoneg" as a sibling to "sonic-port:ifname".
Jul  8 20:40:23.937585 localhost INFO mgmt-framework#/supervisord: rest-server E0708 20:40:23.935887   21940 util.go:176] Failed to create leaf nodes, data = [0xc003ec06e0 0xc003ec0760 0xc003ec0840 0xc003ec08e0 0xc003ec0900 0xc003ec0920 0xc003ec09a0 0xc003ec09c0]
Jul  8 20:40:23.937686 localhost INFO mgmt-framework#/supervisord: rest-server Failed to create Multi Leaf Data = [0xc003ec06e0 0xc003ec0760 0xc003ec0840 0xc003ec08e0 0xc003ec0900 0xc003ec0920 0xc003ec09a0 0xc003ec09c0]
Jul  8 20:40:23.937785 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/internal/yparser/yparser.go:369 github.com/Azure/sonic-mgmt-common/cvl/internal/yparser.TRACE_LOG(): YParser error details: {1020  with keys[] has field  with invalid value  Invalid value  []   }...
Jul  8 20:40:23.937885 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.938092 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.935906976 +0000 UTC m=+519208.297902041, Entered fetchTableDataToTmpCache
Jul  8 20:40:23.938241 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.938381 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.935938519 +0000 UTC m=+519208.297933531, Exiting fetchTableDataToTmpCache
Jul  8 20:40:23.938480 localhost INFO mgmt-framework#/supervisord: rest-server /sonic/src/sonic-mgmt-framework/vendor/github.com/Azure/sonic-mgmt-common/cvl/cvl.go:179 github.com/Azure/sonic-mgmt-common/cvl.TRACE_LOG():
Jul  8 20:40:23.938578 localhost INFO mgmt-framework#/supervisord: rest-server 2022-07-08 20:40:23.935963618 +0000 UTC m=+519208.297958677, Exiting fetchToTmpCache
Jul  8 20:40:23.940349 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.940902 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.941494 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.942270 localhost NOTICE swss#portmgrd: :- doTask: Configure Ethernet0 MTU to 9100
Jul  8 20:40:23.942270 localhost INFO swss#orchagent: message repeated 7 times: [ :- set: setting attribute 0x10000004 status: SAI_STATUS_SUCCESS]
Jul  8 20:40:23.942270 localhost INFO swss#orchagent: :- setPortAdminStatus: Set admin status DOWN to port pid:1000000000002
Jul  8 20:40:23.944880 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.945080 localhost INFO syncd#syncd: [none] SAI_API_PORT:_brcm_sai_port_autoneg_start_tscf:514 Port 1: Use DEFAULT autoneg advertisement
Jul  8 20:40:23.945175 localhost INFO syncd#syncd: [none] SAI_API_PORT:_brcm_sai_port_autoneg_start_tscf:541 Port 1: Final autoneg advertisement: medium=4 fd=0x840, hd=0x0
Jul  8 20:40:23.945530 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.946178 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.946249 localhost INFO swss#orchagent: :- setPortAutoNeg: Set AutoNeg 1 to port pid:1000000000002
Jul  8 20:40:23.946249 localhost NOTICE swss#orchagent: :- doPortTask: Set port Ethernet0 AutoNeg from 0 to 1
Jul  8 20:40:23.946722 localhost NOTICE swss#portmgrd: :- doTask: Configure Ethernet0 admin status to up
Jul  8 20:40:23.946954 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.948117 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.948372 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.948975 localhost INFO swss#orchagent: :- setPortAdminStatus: Set admin status UP to port pid:1000000000002
Jul  8 20:40:23.948975 localhost NOTICE swss#orchagent: :- doPortTask: Set port Ethernet0 admin status to up
Jul  8 20:40:25.059362 localhost INFO swss#orchagent: :- set: setting attribute 0x10000004 status: SAI_STATUS_SUCCESS
Thanks

Abdelmuhaimen Seaudi, CCIE # 25265
Email: ase...@gmail.com
Skype: aseaudi
Telephone: +2012 84644 733

Abdelmuhaimen Seaudi

unread,
Jul 13, 2022, 5:55:24 AM7/13/22
to sonicproject
I also add the SFP Transceiver output


admin@localhost:~$ sudo config interface autoneg Ethernet0 enabled
Jul  8 20:40:23.940349 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.940902 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.941494 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.942270 localhost NOTICE swss#portmgrd: :- doTask: Configure Ethernet0 MTU to 9100
Jul  8 20:40:23.942270 localhost INFO swss#orchagent: message repeated 7 times: [ :- set: setting attribute 0x10000004 status: SAI_STATUS_SUCCESS]
Jul  8 20:40:23.942270 localhost INFO swss#orchagent: :- setPortAdminStatus: Set admin status DOWN to port pid:1000000000002
Jul  8 20:40:23.944880 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.945080 localhost INFO syncd#syncd: [none] SAI_API_PORT:_brcm_sai_port_autoneg_start_tscf:514 Port 1: Use DEFAULT autoneg advertisement
Jul  8 20:40:23.945175 localhost INFO syncd#syncd: [none] SAI_API_PORT:_brcm_sai_port_autoneg_start_tscf:541 Port 1: Final autoneg advertisement: medium=4 fd=0x840, hd=0x0
Jul  8 20:40:23.945530 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.946178 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.946249 localhost INFO swss#orchagent: :- setPortAutoNeg: Set AutoNeg 1 to port pid:1000000000002
Jul  8 20:40:23.946249 localhost NOTICE swss#orchagent: :- doPortTask: Set port Ethernet0 AutoNeg from 0 to 1
Jul  8 20:40:23.946722 localhost NOTICE swss#portmgrd: :- doTask: Configure Ethernet0 admin status to up
Jul  8 20:40:23.946954 localhost INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_PORT:oid:0x1000000000002 op: set
Jul  8 20:40:23.948117 localhost INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_SET api with status: SAI_STATUS_SUCCESS
Jul  8 20:40:23.948372 localhost INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_SET api was send
Jul  8 20:40:23.948975 localhost INFO swss#orchagent: :- setPortAdminStatus: Set admin status UP to port pid:1000000000002
Jul  8 20:40:23.948975 localhost NOTICE swss#orchagent: :- doPortTask: Set port Ethernet0 admin status to up
Jul  8 20:40:25.059362 localhost INFO swss#orchagent: :- set: setting attribute 0x10000004 status: SAI_STATUS_SUCCESS


admin@localhost:~$ show interfaces transceiver eeprom Ethernet0
Ethernet0: SFP EEPROM detected
        Application Advertisement: N/A
        Connector: LC
        Encoding: 8B/10B
        Extended Identifier: GBIC/SFP defined by twowire interface ID
        Extended RateSelect Compliance: Unspecified
        Identifier: SFP/SFP+/SFP28
        LengthOM3(UnitsOf10m): 0
        Nominal Bit Rate(100Mbs): 13
        Specification compliance:
                EthernetComplianceCodes: 1000BASE-SX
        Vendor Date Code(YYYY-MM-DD Lot): 2021-07-16 
        Vendor Name: CISCO-FINISAR
        Vendor OUI: 00-90-65
        Vendor PN: FTLF8518P4BNL-C2
        Vendor Rev: A
        Vendor SN: FNS25291632
admin@localhost:~$ 


Abdelmuhaimen Seaudi, CCIE # 25265
Email: ase...@gmail.com
Skype: aseaudi
Telephone: +2012 84644 733


Reply all
Reply to author
Forward
0 new messages