Qcm

QCM commands

Qcm

Shortest form: q.

Statistics of the QCM (queue congestion monitor) application, which runs on the switch’s embedded microcontroller together with the flow-tracker firmware. Type keywords in full; abbreviations are not accepted. help prints the usage.

QCM works only on devices with the flow-tracker application and only when the qcm_flow_enable config property is set. Otherwise the shell reports the command as not found. A SONiC TD3 switch may not have it.

stats learn, scan, export and age only print counters. stats enable and disable switch the application’s statistics update on or off; that does not affect forwarding.

Qcm stats <learn | scan | export | age | enable | disable>

learn, scan, export and age print the QCM learn, scan, export or aging statistics. enable and disable turn the statistics update on or off.

Unvalidated

drivshell> qcm stats learn

Unvalidated

drivshell> qcm stats enable

Built-in help

Usages:
  qcm stats enable
          - Enable QCM statistics update
  qcm stats disable
          - Disable QCM statistics update
  qcm stats learn
          - Show the QCM Learn statistics
  qcm stats scan
          - Show the scan statistics
  qcm stats export
          - Show the Export statistics
  qcm stats age
          - Show the Aging statistics