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
weight_56_bytes
: integer, specifying the percentage of 56-byte frame sizesweight_60_bytes
: integer, specifying the percentage of 60-byte frame sizesweight_64_bytes
: integer, specifying the percentage of 64-byte frame sizesweight_70_bytes
: integer, specifying the percentage of 70-byte frame sizesweight_78_bytes
: integer, specifying the percentage of 78-byte frame sizesweight_92_bytes
: integer, specifying the percentage of 92-byte frame sizesweight_256_bytes
: integer, specifying the percentage of 256-byte frame sizesweight_496_bytes
: integer, specifying the percentage of 496-byte frame sizesweight_512_bytes
: integer, specifying the percentage of 512-byte frame sizesweight_570_bytes
: integer, specifying the percentage of 570-byte frame sizesweight_576_bytes
: integer, specifying the percentage of 576-byte frame sizesweight_594_bytes
: integer, specifying the percentage of 594-byte frame sizesweight_1438_bytes
: integer, specifying the percentage of 1438-byte frame sizesweight_1518_bytes
: integer, specifying the percentage of 1518-byte frame sizesweight_9216_bytes
: integer, specifying the percentage of 9216-byte frame sizesweight_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