Check Tech Support Export
The following scenario shows how to export a tech-support file from the device when needed. The path to export can be chosen by the user.
Test Tech Support Export Command
Description
In this first test case, we will export a tech-support file to the default path.
Scenario
Step 1: Run command tech-support export
at DUT0
and expect this output:
Show output
Tech-support export operation completed successfully Exported file stored at: running://support/TechSupport_20241007_094432.ots
Test Tech Support Custom Export Command
Description
In the second test case, we will export a tech-support file to a custom path.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth0 address 10.215.168.64/24 set service ssh set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Run command tech-support export running://support
at DUT0
and expect this output:
Show output
Tech-support export operation completed successfully Exported file stored at: running://support/TechSupport_20241007_094443.ots
Step 3: Run command system coredump show
at DUT0
and expect this output: