IOS CLI Simulator
Hands-on practice for the commands the exam expects you to type, not just
recognise. A router (R1) and a Layer 2 switch (SW1) are pre-built here. Move between
user, privileged, and configuration modes exactly as on real Cisco gear — then prove it
with the show commands.
show ?), Tab to complete a word, and the
Up/Down arrows for command history. IOS lets you abbreviate as long as the
abbreviation is unambiguous, so conf t, int g0/0, and
sh ip int br all work.
1. Run the simulator
Pick a device, then configure it. Nothing here touches the network or your real equipment — it is a safe sandbox that resets when you reload the page.
2. The four modes you must know
The prompt tells you where you are. Almost every "I typed a command and nothing happened" problem is really "I was in the wrong mode".
| Prompt | Mode | How you get there | What lives here |
|---|---|---|---|
R1> | User EXEC | default after login | read-only show commands |
R1# | Privileged EXEC | enable | all show, reload, copy, write |
R1(config)# | Global config | configure terminal | device-wide settings: hostname, VLANs, routing |
R1(config-if)# | Interface config | interface g0/0 | IP address, no shutdown, switchport settings |
Use exit to step back one level and end (or Ctrl+Z on real
gear) to jump straight back to privileged EXEC. From a configuration mode you can still run
read-only commands by prefixing them with do, for example do show ip int br.
3. Guided exercises
Work through these in order. The simulator will accept the exact commands, and the
show commands should reflect what you configured.
Exercise 1 · Secure the router basics
- Enter privileged EXEC and then global configuration.
- Set the hostname to
R1and an encrypted secret ofclass. - Add a
no ip domain-lookupso mistyped commands do not hang. - Save with
write memory.
Show the command sequence
enable configure terminal hostname R1 enable secret class no ip domain-lookup end write memory
Exercise 2 · Address an interface
- Configure
GigabitEthernet0/0with10.0.0.1 255.255.255.0. - Add the description
LAN gatewayand bring it up. - Verify with
show ip interface brief— the status must change to up.
Show the command sequence
configure terminal interface g0/0 ip address 10.0.0.1 255.255.255.0 description LAN gateway no shutdown end show ip interface brief
Exercise 3 · Switch VLANs and an access port
- Switch to device SW1.
- Create VLAN
10namedDATA. - Put
FastEthernet0/1in access mode in VLAN 10 with PortFast. - Verify with
show vlan brief— Fa0/1 must appear under VLAN 10.
Show the command sequence
enable configure terminal vlan 10 name DATA exit interface fa0/1 switchport mode access switchport access vlan 10 spanning-tree portfast end show vlan brief
Exercise 4 · A static route
- On R1, add a route to
192.168.2.0 255.255.255.0via10.0.0.2. - Confirm it appears as an
Sentry inshow ip route.
Show the command sequence
configure terminal ip route 192.168.2.0 255.255.255.0 10.0.0.2 end show ip route
4. Supported commands
A working subset of the CCNA command set. Mode abbreviations match IOS.
| Task | Command | Mode |
|---|---|---|
| Enter privileged EXEC | enable | user |
| Enter global config | configure terminal | privileged |
| Name the device | hostname NAME | global |
| Encrypted privileged password | enable secret PASSWORD | global |
| Encrypt clear-text passwords | service password-encryption | global |
| Stop DNS lookups | no ip domain-lookup | global |
| Message of the day | banner motd #text# | global |
| Select an interface | interface g0/0 | global |
| Assign an IPv4 address | ip address 10.0.0.1 255.255.255.0 | interface |
| Describe a link | description TO-ISP | interface |
| Enable an interface | no shutdown | interface |
| Console / remote lines | line console 0 · line vty 0 4 | global |
| Line password | password cisco | line |
| Create a VLAN | vlan 10 then name DATA | global / vlan |
| Access port | switchport mode access | interface |
| Access VLAN | switchport access vlan 10 | interface |
| Trunk native VLAN | switchport trunk native vlan 99 | interface |
| Voice VLAN | switchport voice vlan 150 | interface |
| PortFast | spanning-tree portfast | interface |
| Static route | ip route NET MASK NEXT-HOP | global |
| OSPF process | router ospf 1 then network NET WILD area 0 | global / router |
| Save the config | write memory or copy run start | privileged |
| Interfaces summary | show ip interface brief | privileged |
| Interface detail | show interfaces g0/0 | privileged |
| Routing table | show ip route | privileged |
| VLANs | show vlan brief | privileged |
| MAC address table | show mac address-table | privileged |
| Spanning tree | show spanning-tree | privileged |
| Neighbours | show cdp neighbors | privileged |
| Trunk report | show interfaces trunk | privileged |
| Current config | show running-config | privileged |
Why does IOS reject my perfectly good command?
Router(config)#. Second, the abbreviation is
ambiguous: sh ip int br is fine, but a shorter slice may match two commands, and IOS
refuses rather than guessing. Press ? to see exactly what is legal where you are.5. Sources & references
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.