title: Creating a CLI shell accessible by telnet using Python
body: <p>This a project for the simulation of a Cisco switch interface. I basically want to create a command line interface which I can telnet to. </p>
  
  <p>If anyone is familiar with the Cisco switched this is primarily how they are controlled. I want to generate the simulated outputs of the commands on these switches. I tried using the twisted framework and the cmd option of python. </p>
  
  <p>But I just need something simple, basically a module that would telnet to the cli, then I can use the commands as i see fit in a different modules and then display the commands.</p>
  
  <p>I would appreciate if someone would show me the right way to do this, or even what I could use.(The telnet option is not mandatory.)</p>