Cisco-like command Line Interface
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.
Related videos on Youtube
sbeskur
Updated on September 18, 2022Comments
-
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 over 11 yearsYou mean like the
ip
androute
commands that are already similar to IOS? -
Admin over 11 yearsnot quite ... more like the 'netsh' (netsh.exe) program on windows
-
Admin over 11 yearsAre you trying to implement actual functions or just the shell ?
-
-
killdaclick about 7 yearsCheck "vtysh" it is used in Quagga project: sourceforge.net/projects/vtysh