open-switch / opx-nas-interface

https://openswitch.net
2 stars 13 forks source link

Question on disabled ports on Z9100-ON #35

Closed vnam1 closed 6 years ago

vnam1 commented 6 years ago

I have found this info on Z9100-ON:

" The system can only handle 128 logical ports. This means that if all 32 QSFP28 ports are broken out into 4x25G or 4x10G mode, the two 10G ports (33 and 34) must be set to "disabled". " When I did breakout of 32 100g ports into 4x10 or 4x25 totaling 128+2, I did not see any indication from opx-ethtool that ports 33 and 34 are disabled. So my question is:

  1. How to find if a port is disabled?
  2. After these 2 10g ports (33 and 34) get disabled because of > 128 logical ports, if I unsplit a 100g port from 4x10 to 100g will these ports (33, 34) will get enabled automatically or do I need to do anything?
nchervela commented 6 years ago

@vnam1 Can you share the output of "hshell -c ps" on your system? with the breakout configuration that you mentioned.

vnam1 commented 6 years ago

@nchervela ,

root@spine1:/var/log/aos# hshell -c ps

             ena/        speed/ link auto    STP                  lrn  inter   max   cut   loop
       port  link  Lns   duplex scan neg?   state   pause  discrd ops   face frame  thru?  back
   xe0( 50)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  9078    No
   xe1( 51)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  9078    No
   xe2( 52)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe3( 53)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe4( 54)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe5( 55)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe6( 56)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe7( 57)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe8( 58)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
   xe9( 59)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe10( 60)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe11( 61)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe12( 62)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe13( 63)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe14( 64)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe15( 65)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe16( 68)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe17( 69)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe18( 70)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe19( 71)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe20( 72)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe21( 73)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe22( 74)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe23( 75)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe24( 76)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe25( 77)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe26( 78)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe27( 79)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe28( 80)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe29( 81)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe30( 82)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe31( 83)  up     1   10G  FD   SW  No   Forward          None   FA     CR  1528    No
  xe32( 38)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe33( 39)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe34( 40)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe35( 41)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe36( 34)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe37( 35)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe38( 36)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe39( 37)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe40( 46)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe41( 47)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe42( 48)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe43( 49)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe44( 42)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe45( 43)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe46( 44)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe47( 45)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe48( 84)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe49( 85)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe50( 86)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe51( 87)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe52( 88)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe53( 89)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe54( 90)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe55( 91)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe56( 92)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe57( 93)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe58( 94)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe59( 95)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe60( 96)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe61( 97)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe62( 98)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe63( 99)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe64(102)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe65(103)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe66(104)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe67(105)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe68(106)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe69(107)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe70(108)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe71(109)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe72(110)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe73(111)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe74(112)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe75(113)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe76(114)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe77(115)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe78(116)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe79(117)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe80( 21)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe81( 22)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe82( 23)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe83( 24)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe84( 17)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe85( 18)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe86( 19)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe87( 20)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe88( 29)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe89( 30)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe90( 31)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe91( 32)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe92( 25)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe93( 26)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe94( 27)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe95( 28)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe96(122)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe97(123)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe98(124)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
  xe99(125)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe100(118)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe101(119)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe102(120)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe103(121)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe104(130)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe105(131)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe106(132)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe107(133)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe108(126)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe109(127)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe110(128)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe111(129)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe112(  5)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe113(  6)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe114(  7)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe115(  8)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe116(  1)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe117(  2)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe118(  3)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe119(  4)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe120( 13)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe121( 14)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe122( 15)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe123( 16)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe124(  9)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe125( 10)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe126( 11)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe127( 12)  down   1   10G  FD   SW  No   Forward          None   FA    XFI  1528    No
 xe128( 66)  down   1   10G  FD   SW  No   Forward          None   FA    SFI  1528    No
 xe129(100)  down   1   10G  FD   SW  No   Forward          None   FA    SFI  1528    No
nchervela commented 6 years ago

@vnam1 Z9100 supports 130 ports. The documentation needs to be fixed. To check whether a port is disabled, pls check the 'ena/link' column of the above output. For disabled ports, it should show as “!ena”. In the above output, all 130 ports are enabled.

jeff-yin commented 6 years ago

@vnam1 I'll close this for now. Feel free to re-open or create a new one if you have any followup.