Name
capture — Generates a state and configuration dump of the BMC and applicable components. By default, the output will be all components. Users can specify options to capture a specific component.
Syntax
capture all
capture config
capture hardware
capture log
capture network
capture port
capture state [list | take | copy dump_name destination]
capture version
Options
- No option
Defaults to
all.allDisplays all of the information of the BMC and applicable components.
configDisplays configuration details including user, time, and command history.
hardwareDisplays the hardware state including fans, voltage regulators, power supply units, and temperatures.
logDisplays kernel and system logs.
networkDisplays the network statistics and configuration.
portDisplays the port and cable information.
stateDisplays the state of the ASIC(s).
listLists the ASIC state dumps.
takeTakes a new ASIC state dump.
copy file_name destinationCopies the ASIC state dump file to a different location.
file_name: The ASIC state dump file.
destination: The target destination in the form:
user@host:/path/to/destination.
versionDisplays the version info from the BMC and ASICs.
Examples
capture all capture hardware capture port capture version capture config capture log capture state list capture state take capture state copy statedump_file.gz user@host:/path/to/destination
Notes
The output of this command is intended for support personnel to capture switch configuration, logs, and other pertinent data.
Depending on the size of your system and the option selected, this command may take a long time to complete.