Skip to content

ryantischer/NXAPI_SaveConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

NXAPI_SaveConfig

Author Ryan Tischer @ Cisco rytische at Cisco.com

Use at your own risk

NXAPI Script to download switch configs to local system.

Requires:

NXAPI device…Nexus 9000 with ‘feature NXAPI’ enabled. Only works with http - change URL var on line 68 to https

Usage

python getConfig.py node switchusername switchPassword

example:

python getConfig.py 10.91.85.182 admin cisco

————————————

GetConfig can also take in a json formatted file of nodes. For example…

{"1" : "10.91.85.182", "2" : "10.91.85.183"}

‘elements.json provided as a reference.

*****Assumes all nodes have the same authentication

Example

python getConfig.py elements.json admin cisco

About

NXAPI Script to download switch configs to local system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages