Using a Linux bash script, is there a way to log into an Extreme switch through the com port, run a command and collect the output to a file where the bash script was executed from? I need to automate collecting some data from around 100 switches that are not connected to a network where I can use ssh. I need to access them physically using the serial console only.
Manually it would be something like:
screen /dev/ttyUSB0 9600
where I would then dump the version information to a file.