TEChSUPport
A command of the separate bcma command line; see Commands for other chip families.
Collect diagnostics and debug information.
TEChSUPport config [mode=builtin|script] [path=<string>]
list <feature> [<category> ...]
dump <feature> [<category> [<var>=<opt> ...] ...]
Built-in help
The techsupport command allows an end user to collect diagnostics
and debug information per switch feature.
The 'config' subcommand without any parameters will show the
current collection mode along with the supported categories and
features.
The techsupport information is collected based on a set of CLI
commands, and by default a built-in set of commands will be used.
Use the 'mode' and 'path' parameters to collect information based
on a set of external script files instead.
The 'dump' subcommand collects the diagnostics and debug
information based on the specified feature and category. Note
that the features and categories are device and variant specific.
If a specified feature/category is not supported on the device
variant, an error will be returned.
If <feature> is '*', all features will be dumped.
If <category> is '*' or no <category> is given, all categories will
be dumped.
The 'list' subcommand shows the list of commands used to collect
the diagnostics and debug information.
Optional arguments "<var>=<opt> ..." can be used to set <opt> as
the value for category-based variable <var>. If the specified variable
is part of the command syntax within the associated category,
an adjustable dump result can be achieved by setting appropriate
optional arguments.
Please note that it is recommended to execute the techsupport command
one feature at a time when optional arguments are used, unless the
category-based variables are common among features.
Built-in examples
config
config mode=script path=/tmp/script/
list *
dump *
dump basic * lt_all 1=^device
dump basic lt_all 1="^device ctr"