streamQueue
streamQueue - configure an ATM stream queue.
SYNOPSIS
streamQueue sub-command options
DESCRIPTION
The streamQueue command is used to configure the data rate of a stream ueue for an ATM port.
STANDARD OPTIONS
aal5FrameRate
Read-only. The rate for all of the streams in the queue, expressed as an AAL5 frame rate.
aal5PayloadBitRate
Read-only. The rate for all of the streams in the queue, expressed as an AAL5 payload bit rate.
aal5PduBitRate
The rate for all of the streams in the queue, expressed as an AAL5 PDU bit rte. (default = 0.0)
aal5SduBitRate
Read-only. The rate for all of the streams in the queue, expressed as an AAL5 SDU bit rate.
cellBitRate
The rate for all of the streams in the queue, expressed as an cell bit rate. (efault = 0.0)
cellRate
Read-only. The rate for all of the streams in the queue, expressed as an cell rate.
enableInterleave
true | false
If true, then this particular stream queue's cells may be interleaved with all other stream queues. If false, then all of the cells in the stream queue is transmitted without interleaving from other cells from other stream queues that have this option also set to false. (default = true)
percentMaxRate
Sets the rate of all of the streams in a queue as a percentage of the maximum rate. Any individual stream may set its own rate after this option has been set. This value is automatically changed to reflect the new average transmit rate. (default = 0.0)
rateMode
The means by which the ATM rate is to be set.
Option |
Value |
Usage |
---|---|---|
usePercentRate |
1 |
(default) Use the value in percentMaxRate to set the ATM rate. |
streamQueueAalPduBitRate |
2 |
Use the value in aal5PduBitRate to set the ATM rate. |
streamQueueAalCellBitRate |
3 |
Use the value in cellBitRate to set the ATM rate |
DEPRECATED OPTIONS
aal5BitRate
Read-only. The rate for all of the streams in the queue, expressed as an AAL5 bit rate. Same as aal5PduBitRate.
COMMANDS
The streamQueue command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
streamQueue cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the streamQueue command.
streamQueue clear chasID cardID portID queueId
Removes all streams from a queue on a port. Specific errors are:
- No connection to a chassis
- Invalid port number
- Invalid queueId number
- The port is being used by another user
streamQueue config option value
Modify the configuration options of the streamQueue. If no option is specified, returns a list describing all of the available options (see STANDARD OPTIONS) for streamQueue. Specific errors are:
- No connection to a chassis
- Invalid port number
- Invalid queueId number
- The port is being used by another user
streamQueue get chasID cardID portID queueId
Gets the current configuration of the streamQueue for a queue on a port from its hardware.Call this command before calling streamQueue cget option value to get the value of the configuration option.
streamQueue set chasID cardID portID queueId
Sets the configuration of the streamQueue in IxHAL for a queue on a port by reading the configuration option values set by the streamQueue config option value command. Specific errors are:
- No connection to a chassis
- Invalid port number
- Invalid queueId number
- The port is being used by another user
- Configured parameters are not valid for this setting
streamQueue setDefault
Sets to IxTclHal default values for all configuration options.
EXAMPLES
See examples in stream.