This describes how to push data to a device which doesn't react kindly when flooded with input.
It uses screen.
It is a hack.
It could be used for provisioning switches with config.
# cp input /tmp/screen-exchange # Location screen reads from
# screen /dev/ttyUSB0 115200n8 # Start screen
The following are interactions with screen:
Ctrl+A < Load screen exchange file into screen
Ctrl+A : slowpaste 50 - set delay for pasting to 50ms
Ctrl+A ] paste buffer
You might be able to check if mayhem ensued by the output in your terminal.