P_RATEL2BPS#

code: 323

# set
<module-index>/<port-index> P_RATEL2BPS <port_rate_bps>

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

Description#

The port-level rate of the traffic transmitted for a port in sequential tx mode, expressed in units of bits per-second at layer-2, thus including the Ethernet header but excluding the inter-frame gap. The bandwidth consumption is somewhat dependent on the length of the packets generated for the stream, and also on the inter-frame gap for the port.

Actions#

set, get

Parameters#

  1. port_rate_bps: long integer, the port-level rate of the traffic transmitted for a port in sequential tx mode, expressed in units of bits per-second at layer-2, thus including the Ethernet header but excluding the inter-frame gap

Example#

# set
input:  0/1 P_RATEL2BPS 1
output: <OK>

# get
input:  0/1 P_RATEL2BPS ?
output: 0/1 P_RATEL2BPS 1