You can use rancid.sh script to execute the same cisco command on multie cisco devices. The requirement is a rancid up and running on the host and able to connect to the cisco devices. To run this script :
- check the path to clogin command,
- put your cisco commands into commands.txt
- put the list of the device into device.txt