packetGroupThresholdList
packetGroupThresholdList - configure and contain the PGID range threshold values
SYNOPSIS
packetGroupThresholdList sub-command options
DESCRIPTION
The packetGroupThresholdList command is used to configure and contain the PGID range threshold values.
There is one threshold for each PGID. Use this command to select a range of PGIDs that is configured with the same threshold value.
The fromPGID value defines the start of the range and the toPGID value is the end of the range. To configure just one PGID, use identical 'from' and 'to' values.
STANDARD OPTIONS
enableJitterFilter
true or false to specify that jitter filtering is on or off, default is false
fromPGID
the sequence number of the PGID at the start of the range
toPGID
the sequence number of the PGID at the end of the range
threshold
if enableJitterFilter is OFF, it stands for a number (in nanoseconds) that is the threshold for the Inter-Arrival Time (latency) of a PGID or a range of PGIDs
if enableJitterFilter is ON, its units become packets instead of ns
filterWindow
specifies the filter window
Option |
Value |
Usage |
---|---|---|
filterWindow81920ns |
0 |
81920 |
filterWindow163840ns |
1 |
81920 X 2 |
filterWindow327680ns |
2 |
81920 X 4 |
filterWindow655360ns |
3 |
81920 X 8 |
filterWindow1310720ns |
4 |
81920 X 16 |
filterWindow2621440ns |
5 |
81920 X 32 |
filterWindow5242880ns |
6 |
81920 X 64 |
filterWindow10485760ns |
7 |
81920 X 128 |
filterWindow20971520ns |
8 |
81920 X 256 |
filterWindow41943040ns |
9 |
81920 X 512 |
filterWindow83886080ns |
10 |
81920 X 1024 |
filterWindow167772160ns |
11 |
81920 X 2048 |
filterWindow335544320ns |
12 |
81920 X 4096 |
filterWindow671088640ns |
13 |
81920 X 8192 |
filterWindow1342177280ns |
14 |
81920 X 16384 |
filterWindow2684354560ns |
15 |
81920 X 32768 |
filterWindow5368709120ns |
16 |
81920 X 65536 |
COMMANDS
The packetGroupThresholdList command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
packetGroupThresholdList clear option
This clears threshold timestamps. The threshold value list is empty.
packetGroupThresholdList config option
Allows setting the values (options).
Example: packetGroupThresholdList config threshold 250000
packetGroupThresholdList getFirst
Access the first value in the list. Specific errors are:
- There are no values in the list
packetGroupThresholdList getNext
Access the next value in the list. Specific errors are:
- There are no more values in the list
packetGroupThresholdList add
Add a value (a 'from' and a 'to') to the threshold value list.
packetGroupThresholdList setDefault
Sets to IxTclHal default values for all configuration options. Does not clear the list.
EXAMPLES
Example TCL commands to turn Jitter Filter on and configure threshold and mask.
package req IxTclHal
ixConnectToChassis <chassis>
set chassId 1
set cardId 3
set portId 2
portCpu reset $chassId $cardId $portId
port setFactoryDefaults $chassId $cardId $portId
set receiveMode [expr $::portRxModeWidePacketGroup | $::portRxModeRateMonitoring]
port setReceiveMode $receiveMode $chassId $cardId $portId
packetGroup getRx $chassId $cardId $portId
packetGroupThresholdList setDefault
packetGroupThresholdList config -enableJitterFilter true
packetGroupThresholdList config -fromPGID 0
packetGroupThresholdList config -toPGID 2
packetGroupThresholdList config -threshold 1000
packetGroupThresholdList config -filterWindow filterWindow81920ns
packetGroupThresholdList add
packetGroup setRx $chassId $cardId $portId
port write $chassId $cardId $portId