Thursday, January 14, 2010

Linux hyperterminal for Cisco routers and switches

Using the Linux screen command you can communicate with Cisco routers and switches through the console port.

First verify what serial device was detected (usually S0):

$ dmesg | tail

Then connect using screen:

$ screen /dev/ttyS0

I've tested this on Cisco 2811 ISRs, Aironet's, and Catalyst 2900 series switches.