I created some Python scripts for ClearPass. The scripts can be found on Github. There are several directories:
First of all, I would like to thank Tim Cappalli for the ClearPass Authentication scripts!!
A special thanks to Tim Cappalli for the ClearPass Authentication scripts!!
The script is used to execute a CLI command on one or multiple switches. The script use switches.txt as input file to login to one or multiple switches. When the scripts is executed the script asks for username and password and which command to execute. The status codes of the different sections is displayed and the output from the CLI command is send to file. The file name syntax will be SW<IP>_<sw hostname>_<cli command>.txt