MIMIC CLI / IOS Simulator is an optional MIMIC protocol module that allows to simulate command line interfaces (CLI) such as Cisco IOS and Juniper JUNOS. This page helps you to get started with IOS simulation. To get started with JUNOS CLI simulation see this other page.
It can be enabled after the base MIMIC installation as below.
-
At this point you should have MIMIC installed, and the MIMICview GUI
running
(see details)
. If you don't have MIMICview running, please consult your license e-mail
to get it installed and running.
-
Check whether you already have TELNET and SSH enabled in MIMIC as shown in the
Help -> About Mimic... dialog in MIMICview. It should be listed
under Loaded protocols. If already there, then skip to step 7.
-
Run Protocol Wizard using the Wizards -> Protocol Wizard menu in
MIMICView
(see details)
-
Select IOS Simulator in Select Protocols dialog
if not already selected. Press Next.
-
Supply corresponding license keys from the license email in the
Supply License Keys dialog. Then press Next.
-
The Result Installing/Uninstalling Protocols dialog shows
what got done. Press Finish to proceed. When the
simulator restarts, you should have CLI Simulator enabled.
Download optional sample CLI packages
-
At this point, you should have CLI Simulator enabled in MIMIC as shown in the
Help -> About Mimic... dialog in MIMICview. TELNET, SSH should be listed
under Loaded protocols. If not, send us the MIMIC log.
(see details)
-
Invoke the MIMICview Wizard -> Update menu to download and
install Cisco devices which is listed under
Device Library.
(see details)
Firewall permission for www.gambitcomm.com , port 80 is needed to run the Update Wizard over the web.
Please visit this link for alternative MIMIC update instructions in case you don't have Internet to use the Update Wizard over the web connection on the MIMIC system:
http://www.mirror1.gambitcommunications.com/update/mibs/mimic-update-xxxx/
where xxxx is current MIMIC version e.g. for 20.10 it is 2010
Configure a CLI agent for SSH
-
After the installation is complete, load the lab configuration
ios.cfg using the MIMICview File -> Open menu.
(see details)
.
It is already configured for TELNET.
-
Select agent 1 and invoke the Edit -> Configure -> All dialog
(see details)
.
Go to the Advanced tab and select SSH for protocol.
Keep others as they are.
NOTE: If you are running a SSH server on your MIMIC host, by default it will prevent starting simulated SSH servers on the standard port. You can either configure your simulated SSH servers on a different port, or instruct the host SSH server to only listen on a single IP address, eg. on Linux change the ListenAddress in /etc/ssh/sshd_config (see details) . You can configure different ports in MIMIC agent using respective tabs in the "Edit->Configure->All" dialog.
-
Start the agent and now it is accessible using both SSH and Telnet
clients and it has full support of Cisco IOS commands that are implemented
in MIMIC.
Default username/password is lab/lab123 and enable mode password is enable123
- You can implement any CLI in your own simulated device by applying the rule files similar to ones found in our Cisco Device Library, e.g., c3640_v124.rul. Moreover you can add more commands by following same procedures for the commands that already exist in those rule files. Please invoke the Help->Contents menu and refer to the section "Optional Protocol Modules->MIMIC TELNET Protocol Module Guide", or on the cloud .
Enable CLI Simulator in MIMIC