Using Python for Cisco Serial I/O

pyCiscoConsole v1.00- A Class Based Approach for Serial IO to a Cisco Device Contents Overview Requirements Installation CiscoDevice Class Public Methods __init__ set_receive_wait get_mode set_mode send_command DeviceMode Class Usage Example Downloads Overview pyCiscoConsole provides a class based interface for communicating¬†with a Cisco device over a console cable. pyCiscoConsole is single threaded and uses a heuristic […]

Use Python to Interact with Cisco Device Using Pyserial

For my latest project I wanted to communicate with a Cisco device over serial via the console port with my python program. It isn’t overly complicated, but it took me a bit to hack together something that worked properly and I thought I’d share it with everyone. ¬†Below is the code: The first line opens […]