- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-10 03:48 AM
NMC Mass Config Updates - Script Utility
During my research, I have reviewed several posts, none of which provided me with the appropriate information or tools necessary to achieve the desired outcome.
Over the past week, I have determined the need to create a solution for the mass configuration of over 4000 NMC cards within our various environments.
I have developed a Python GUI (tkinter) application with the following functions:
Mass Upload
- Input / select a configuration file with the desired fields that need to be mass configured.
- Input / select the host file that contains a list of the device IPs, Primary Credentials and Secondary Credentials.
i.e. 192.168.1.1,username1,password1,username2,password2 - Type the remote path location, in this instance, I only need to type “config.ini” to overwrite / update the existing file in the root directory.
- Click upload and the following will then take place:
- Attempts a connection via SSH/SCP with the primary credentials, if that fails, it attempts the secondary set of credentials.
- If none of the SSH/SCP credentials work or method of connectivity is possible, it moves onto FTP with the same primary and secondary credentials.
- During the attempts, this process is logged in several log files:
Transaction log: Shows the output and result from the login to upload
Successful log: shows the output of the successful uploads that took place
Failed log: Shows the output of the failed uploads ( issue with credentials or connectivity)
Mass Download
In addition to the above, the same function applies to download current config files from the input host file and the log files get updated accordingly.
Another item which I have added to make life easier for the task I was given to validate the current config and firmware of the devices was to incorporate a analyse config files:
Although this is only looking for a few fields currently, I may look to make it variable in the future.
It is looking at the Current Firmware Version, SNMP user profiles, SNMP Trap Receivers.
Lastly, if I needed to to perform a quick upload or download to one host only, this is also possible:
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-19 07:45 AM
Looks great!. Is this publicly available for download?
Link copied. Please paste this link to share this article on your social media post.

