Backup device configuration is one of the most important tasks for any network engineer. In this use case, we will design a sample python script that can be used for different vendors and platforms in order to back up the device configuration. We will leverage the netmiko library to do this task.
The result files should be formatted with the device IP address in them for easy access or referencing later. For example, the result file for the SW1 backup operation should be dev_10.10.88.111_.cfg.