aristanetworks / sonic

Open source drivers and initialization library for Arista platforms running SONiC
GNU General Public License v2.0
25 stars 30 forks source link

Port ordering issue on Arista-7260-CX3 issue? #10

Closed yxieca closed 6 years ago

yxieca commented 7 years ago

While bringing up Arista-7260-CX3 switch with SONiC image, we wired cable to front panel port 1 and it reached link up. However, when we look at the portstat output, the internal tool shows that port ce16 reached link up.

  ce16( 34)  up     4  100G  FD   SW  No   Forward  TX RX   None    F  CAUI4  9238    No      

Please let us know if this is expected?

Can we make internal port number match with the front panel port number?

lguohan commented 7 years ago

need to update the config.bcm to make the bcm port ordering to match the front panel port ordering.

Staphylo commented 7 years ago

This problem might also be related to the issue #8. We are working on providing a fix for this one, so it might solve your problem.

Like lguohan mentioned it's also possible to change the logical port number by changing the mapping logical to physical in the bcm config.

yxieca commented 7 years ago

Thanks Samuel,

I will be more than happy to test the fix!

Regards, Ying

From: Samuel Angebault [mailto:notifications@github.com] Sent: Wednesday, August 23, 2017 9:42 AM To: aristanetworks/sonic sonic@noreply.github.com Cc: Ying Xie Ying.Xie@microsoft.com; Author author@noreply.github.com Subject: Re: [aristanetworks/sonic] Port ordering issue on Arista-7260-CX3 issue? (#10)

This problem might also be related to the issue #8https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faristanetworks%2Fsonic%2Fissues%2F8&data=02%7C01%7Cying.xie%40microsoft.com%7C500b37b2a7a24b67e32b08d4ea45d09b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636391032951348989&sdata=%2FQ3tuiq2lxikMmJyMifvgeyV675O%2BULWcc26%2FyNnxgc%3D&reserved=0. We are working on providing a fix for this one, so it might solve your problem.

Like lguohan mentioned it's also possible to change the logical port number by changing the mapping logical to physical in the bcm config.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faristanetworks%2Fsonic%2Fissues%2F10%23issuecomment-324393474&data=02%7C01%7Cying.xie%40microsoft.com%7C500b37b2a7a24b67e32b08d4ea45d09b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636391032951348989&sdata=KWMLRH1HGi3Mw%2FSXDDWhGyrmgS3U7DGUEfAG5fGfiEA%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR4necDSRPWJrnSEMeUsiKc5w3Fq_V_kks5sbFY8gaJpZM4O5OkX&data=02%7C01%7Cying.xie%40microsoft.com%7C500b37b2a7a24b67e32b08d4ea45d09b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636391032951348989&sdata=BtSnfrg5l8HD3brkn6pGHhbizzg%2FvrY9IUMQ8YqYuIA%3D&reserved=0.

yxieca commented 7 years ago

this issue is not addressed with sfp util change.

For instance, with 108x50G+10x100G configuraiton:

When Ethernet0 (front panel port 1) came up, xe28 becomes 'up' in "bcmcmd ps" output. The mapping from front panel port number to xe or ce number seems to be shuffled.

For the purpose of helping debug in the future. we would like to see front panel port 1 maps to xe1 or ce1 depending on the speed, and so on.

Staphylo commented 6 years ago

Closing the issue as the internals of the SDK prevents us from doing so just by editing the configuration.