DNA-C At A Glance
Table of Contents
Introduction
DNA-C at a glance is a project that is aimed at users of the Cisco DNA-C Appliance for troubleshooting, auditing, etc. on Cisco DNA-C CLI.
Installation
Prerequisites: Access to github.com:443
from the DNA-C Appliance.
- Goto home directory:
cd
- Clone this repository to the DNA-C Appliance:
git clone https://github.com/sahanajoshi/dnacataglance.git
- Verify download:
ls dnacataglance
Features
Upload RCA
Prerequisites: Access to cxd.cisco.com:443
from the DNA-C Appliance.
- Goto directory where scripts were downloaded:
cd ~/dnacataglance
- Run
./upload_rca.sh
- Follow the prompts. (Refer Appendix: Obtain CXD Token)
- The upload process runs in the background. So the SSH session to the DNA-C can be closed after initiating upload. The script gives an option to enter an email id. Upon successful upload, a mail will be sent to this id.
What to expect when you run the script?


Notes
Code |
Reason |
Resolution |
401 |
Unauthorized Request |
Check SR number or CXD token |
201 |
Successful Upload |
- |
-
RCA files are large in size (~300-400 MB) and will take sometime for upload to complete depending on your bandwidth availability.
-
Other logs/files can also be uploaded to the case. To do this, enter the file path and filename when prompted. For example, if you have to upload /tmp/log_file.log
, enter /tmp/
for the path, and log_file.log
for the filename.
Basic Health Check
- Goto directory where scripts were downloaded:
cd ~/dnacataglance
- Run
.dnac_stats.sh
- Follow the prompts. Enter the maglev/admin passwords when prompted.
Removal / Cleanup
- Goto home directory:
cd
- Delete install directory:
rm -rf dnacataglance
Appendix
Obtain CXD Token
CXD token is generated by Cisco Support Case Manager for every SR (Service Request) opened with Cisco and can be obtained in the following ways.
- https://mycase.cloudapps.cisco.com > Case > Attachments > Generate Token.
- In the initial automatic email sent out when a new SR is created.
- Cisco TAC engineer will be able to provide the CXD token.
Where can the customer see the CXD Token?

For detailed instructions on setting up the scripts and other requirements, refer the Deployment Guide in this repository.