FlowTrackerMON
FlowtracketMon
- FlowTrackerMON
Shortest form:
ftmon.Console monitor for flow-tracker export records (“FTMON”).
startturns on the export FIFO and a callback that counts the records the flow tracker exports. Depending onreport, the records are also decoded to the console or cached. Type keywords in full; abbreviations are not accepted.With no argument the command prints the monitor status, the report options and the number of records received. The status line reads
IPFIX Deamon Status: <Running|Not Running>.: the wording is copied fromIPFIX.The command exists only on devices with flow-tracker export DMA. Elsewhere the shell reports it as not found. A SONiC TD3 switch may not have it.
Status and
reportwithout options are read-only.start,stopandreport +Cachechange SDK state insidesyncd. SONiC does not use this monitor.Unvalidated — Show monitor status
drivshell> FlowTrackerMON- FlowTrackerMON start
Start the export monitor.
FlowTrackerMON stopstops it. Starting it twice prints<cmd>: FTMON thread already running.. Stopping it when it is not running prints<cmd>: ERROR: FTMON thread already stopped..Unvalidated
drivshell> ftmon start
- FlowTrackerMON report [<+|-><option> ...]
Without options, print
FTMON Reporting on for:andFTMON Reporting off for:lists. Otherwise+turns an option on and-turns it off. The options areCount,Decode,Cache,Dumpand@ALL(or@*) for all of them. The built-in help lists onlyCountandDecode.Cachekeeps the last record of every flow in memory. WithDumpset and the cache on, the cached records are printed at once.Unvalidated
drivshell> ftmon report +Count +Decode
- FlowTrackerMON dump
Print the cached export records, if
report +Cacheis on. This keyword is not in the built-in help.Unvalidated
drivshell> ftmon dump
Built-in help
Parameters: [report +/-<values>] [set <values>] [stop|start] start - Start the FT export fifo deamon stop - Stop the FT export fifo deamon report - Configure reporting to the console count - print export entry # only decode - dump decoded export entry Prepend + to set, - to clear