Cisco-like command Line Interface

7,692

Solution 1

Not long after posting this question, I came across the Klish project It is an improved version of Clish with better support and more features.

There is a slight learning curve but it is very well thought out.

The goal was to turn a standard linux box into an appliance that can be managed from the CLI like a Cisco router or switch. Klish (along with some bash and ruby scripts) is highly configurable via XML and has made it possible to configure network interfaces, VLans, and services such as DHCP, iptables, etc. from a single unified shell.

Solution 2

Quagga (ex-Zebra) does not only emulate Cisco shell, but properly sets up routing table and handles a set of routing protocols ranging from RIP till BGP.

Share:
7,692

Related videos on Youtube

sbeskur
Author by

sbeskur

Updated on September 18, 2022

Comments

  • sbeskur
    sbeskur over 1 year

    I'm looking for a way to implement a fairly basic Cisco like command line interface on my Ubuntu server appliance (12.04 in particular).

    I've come across the following project: CLISH however, documentation is sketch and it seems to be quite stale.

    Does anyone have any experience with this sort of thing and might you know of any similar projects / approaches?

    • Admin
      Admin over 11 years
      You mean like the ip and route commands that are already similar to IOS?
    • Admin
      Admin over 11 years
      not quite ... more like the 'netsh' (netsh.exe) program on windows
    • Admin
      Admin over 11 years
      Are you trying to implement actual functions or just the shell ?
  • killdaclick
    killdaclick about 7 years
    Check "vtysh" it is used in Quagga project: sourceforge.net/projects/vtysh