Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
You mean like the ip and route commands that are already similar to IOS? –  jordanm Aug 23 '12 at 1:55
    
not quite ... more like the 'netsh' (netsh.exe) program on windows –  sbeskur Aug 29 '12 at 22:32
3  
Are you trying to implement actual functions or just the shell ? –  warl0ck Sep 13 '12 at 0:06
add comment

2 Answers

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|improve this answer
add comment
up vote 0 down vote accepted

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.

Hope this helps anyone who might be interested.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.