CustomSTAT
Note
This command belongs to the shell mode for newer (logical-table) switch chips and is not available on Trident 3.
Enable/disable debug counter collection
Shortest form: cstat.
Built-in help
Usages:
cstat <pbmp> [z]
- Display all non-zero custom counters and their triggers
z - include counters that are zero
cstat raw <pbmp> [rx|tx] <counter>
- Display value of counter in raw mode
cstat set <pbmp> [rx|tx] <counter> <triggers>
- Set triggers for given counter
cstat get <pbmp> [rx|tx] <counter>
- Get currently enabled triggers of counter
cstat ls [rx|tx]
- List available triggers
cstat info [rx|tx]
- List available triggers with short description
Note: To specify all counters use 'all'
Displays and configures programmable statistic counters
RDBGC0,TDBGC0 etc.