This script is not the work of the contributor (me) but I find it very useful for executing the same command on multiple switches
This script was created by Don Libes at NIST. This script can be found at the following URL as well, http://expect.nist.gov/example/multixterm.
Multixterm creates multiple xterms that can be driven together or separately. Keystrokes in the "stdin window" are redirected to all xterms started by multixterm. xterms may be driven separately by focusing on them.