Cisco APIC Getting Started Guide, Release 6.2(x)

PDF

Send an on-demand tech support file using the REST API

Updated: January 12, 2026

Overview

Use this procedure to set the remote destination and generate an on-demand technical support file using the REST API by sending a POST request with the specified XML configuration for file paths and technical support parameters.

Procedure

1.

Set the remote destination for a technical support file using the REST API, by sending a POST with XML such as the following example:

Example:

<fileRemotePath userName="" remotePort="22" remotePath="" protocol="sftp" name="ToSupport" host="192.168.200.2" 
                        dn="uni/fabric/path-ToSupport" descr="">
                        <fileRsARemoteHostToEpg tDn="uni/tn-mgmt/mgmtp-default/oob-default"/>
                        </fileRemotePath>
2.

Generate an on-demand technical support file using the REST API by sending a POST with XML such as the following:

Example:


                        <dbgexpTechSupOnD upgradeLogs="no" startTime="unspecified" name="Tech_Support_9-20-16"
                        exportToController="no" endTime="unspecified" dn="uni/fabric/tsod-Tech_Support_9-20-16" descr=""
                        compression="gzip" category="forwarding" adminSt="untriggered">
                        <dbgexpRsExportDest tDn="uni/fabric/path-ToSupport"/>
                        <dbgexpRsTsSrc tDn="topology/pod-1/node-102/sys"/>
                        <dbgexpRsTsSrc tDn="topology/pod-1/node-103/sys"/>
                        <dbgexpRsTsSrc tDn="topology/pod-1/node-101/sys"/>
                        <dbgexpRsData tDn="uni/fabric/tscont"/>
                        </dbgexpTechSupOnD>
                        <fabricFuncP>
                        <fabricCtrlrPGrp name="default">
                        <fabricRsApplTechSupOnDemand tnDbgexpTechSupOnDName=" Tech_Support_9-20-16"/>
                        </fabricCtrlrPGrp>
                        </fabricFuncP>