conditionalTable
conditionalTable - works together with conditionalStats to configure and retrieve the flow detective stats from the port CPU.
SYNOPSIS
conditionalTable sub-command options
DESCRIPTION
The conditionalTable command is used to configure and manipulate the table of conditional stats (flow detective stats).
STANDARD OPTIONS
columnNames
List of the names of the columns to retrieve.
enableAggregation
Enables/disables aggregation mode. Default = disabled.
filterExpression
The expression used for filtering the results. PGIDs for which the filter returns 0 is not included in the results.
firstIndex
Only applies when in aggregation mode. The first bucket index to monitor. Default = 1.
firstResult
Either the first PGID to be reported (after sorting and filtering) or, if in aggregated mode, the first bucket to report.
lastIndex
Only applies when in aggregation mode. The last bucket index to monitor. A value of -1 means 'until the end' or 'all of them'.
mask
PGID mask to mask the filter PGIDs down further. Default = no mask.
numResults
Total number of results, or rows, to be reported (after sorting and filtering).
sort
Sorting direction::
Option |
Value |
Usage |
---|---|---|
conditionalTableSortDescending |
0 |
(default) descending sort order |
conditionalTableSortAscending |
1 |
ascending sort order |
sortingExpression
The expression used for sorting the PGIDs.
COMMANDS
The conditionalTable command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
conditionalTable cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the conditionalTable command.
conditionalTable config option value
Modify the Collision Backup configuration options of the port. If no option is specified, returns a list describing all of the available Conditional Table options (see STANDARD OPTIONS) for port.
conditionalTable get requestID
Gets the conditional data associated with the parameter conditionID.
conditionalTable setDefault
Sets to IxTclHal default values for all configuration options.
conditionalTable set requestID
Sets the conditional data associated with the parameter conditionID.
conditionalTable removeAll requestID
Removes all conditions.
EXAMPLES
See example under conditionalStats