PS_ENABLE

code: 153

# set
<module-index>/<port-index> PS_ENABLE [<stream_index>] <state>

# get
<module-index>/<port-index> PS_ENABLE [<stream_index>] ?

Description

This property determines if a stream contributes outgoing packets for a port. The value can be toggled between ON and SUPPRESS while traffic is enabled at the port level. Streams in the OFF state cannot be set to any other value while traffic is enabled. The sum of the rates of all enabled or suppressed streams must not exceed the effective port rate.

Actions

set, get

Parameters

  1. state: byte, a stream state

  • OFF = 0

  • ON = 1

  • SUPPRESS = 2

Example

# set
input:  0/1 PS_ENABLE [0] OFF
output: <OK>

# get
input:  0/1 PS_ENABLE [0] ?
output: 0/1 PS_ENABLE [0] OFF