New network script: change the IP of MOXA EDS-405A/408A switches via telnet

  • Posted on: 28 January 2016
  • By: adamo

MOXA switches series EDS-405A/408A are nice and rugged devices, I'm using a lot of them at work. You can access them via telnet, but it's an interactive pseudo-graphic interface, you have to enter menus, move with arrows. Not a CLI like for Cisco switches.
Fortunately using the Linux utility "expect" plus knowing the right key codes, you can configure them in batch mode... for example you can batch change their network parameters using this script for changing the IP address of MOXA EDS-405A/408A switches via telnet.
Good luck!