P_MIXWEIGHTS#

code: 192

# set
<module-index>/<port-index> P_MIXWEIGHTS <weight_56_bytes> <weight_60_bytes> <weight_64_bytes> <weight_70_bytes> <weight_78_bytes> <weight_92_bytes> <weight_256_bytes> <weight_496_bytes> <weight_512_bytes> <weight_570_bytes> <weight_576_bytes> <weight_594_bytes> <weight_1438_bytes> <weight_1518_bytes> <weight_9216_bytes> <weight_16360_bytes>

# get
<module-index>/<port-index> P_MIXWEIGHTS ?

Description#

Allow changing the distribution of the MIX packet length by specifying the percentage of each of the 16 possible frame sizes used in the MIX. The sum of the percentage values specified must be 100. The command will affect the mix- distribution for all streams on the port. The possible 16 frame sizes are: 56 (not valid for 40G/100G), 60, 64, 70, 78, 92, 256, 496, 512, 570, 576, 594, 1438, 1518, 9216, and 16360.

Note

This command requires Xena server version 375 or higher.

Actions#

set, get

Parameters#

  1. weight_56_bytes: integer, specifying the percentage of 56-byte frame sizes

  2. weight_60_bytes: integer, specifying the percentage of 60-byte frame sizes

  3. weight_64_bytes: integer, specifying the percentage of 64-byte frame sizes

  4. weight_70_bytes: integer, specifying the percentage of 70-byte frame sizes

  5. weight_78_bytes: integer, specifying the percentage of 78-byte frame sizes

  6. weight_92_bytes: integer, specifying the percentage of 92-byte frame sizes

  7. weight_256_bytes: integer, specifying the percentage of 256-byte frame sizes

  8. weight_496_bytes: integer, specifying the percentage of 496-byte frame sizes

  9. weight_512_bytes: integer, specifying the percentage of 512-byte frame sizes

  10. weight_570_bytes: integer, specifying the percentage of 570-byte frame sizes

  11. weight_576_bytes: integer, specifying the percentage of 576-byte frame sizes

  12. weight_594_bytes: integer, specifying the percentage of 594-byte frame sizes

  13. weight_1438_bytes: integer, specifying the percentage of 1438-byte frame sizes

  14. weight_1518_bytes: integer, specifying the percentage of 1518-byte frame sizes

  15. weight_9216_bytes: integer, specifying the percentage of 9216-byte frame sizes

  16. weight_16360_bytes: integer, specifying the percentage of 16360-byte frame sizes

Example#

# set
input:  0/1 P_MIXWEIGHTS 0 0 0 0 57 3 5 1 2 5 1 4 4 18 0 0
output: <OK>

# get
input:  0/1 P_MIXWEIGHTS ?
output: 0/1 P_MIXWEIGHTS 0 0 0 0 57 3 5 1 2 5 1 4 4 18 0 0