Exam Center · Practise

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.

CCNA 200-301 v1.1 Runs offline Safe sandbox
How to drive it Type a command and press Enter. Press ? for context help (for example 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.

Type ? for help · Tab to complete
R1>

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".

PromptModeHow you get thereWhat lives here
R1>User EXECdefault after loginread-only show commands
R1#Privileged EXECenableall show, reload, copy, write
R1(config)#Global configconfigure terminaldevice-wide settings: hostname, VLANs, routing
R1(config-if)#Interface configinterface g0/0IP 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

  1. Enter privileged EXEC and then global configuration.
  2. Set the hostname to R1 and an encrypted secret of class.
  3. Add a no ip domain-lookup so mistyped commands do not hang.
  4. 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

  1. Configure GigabitEthernet0/0 with 10.0.0.1 255.255.255.0.
  2. Add the description LAN gateway and bring it up.
  3. 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

  1. Switch to device SW1.
  2. Create VLAN 10 named DATA.
  3. Put FastEthernet0/1 in access mode in VLAN 10 with PortFast.
  4. 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

  1. On R1, add a route to 192.168.2.0 255.255.255.0 via 10.0.0.2.
  2. Confirm it appears as an S entry in show 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.

TaskCommandMode
Enter privileged EXECenableuser
Enter global configconfigure terminalprivileged
Name the devicehostname NAMEglobal
Encrypted privileged passwordenable secret PASSWORDglobal
Encrypt clear-text passwordsservice password-encryptionglobal
Stop DNS lookupsno ip domain-lookupglobal
Message of the daybanner motd #text#global
Select an interfaceinterface g0/0global
Assign an IPv4 addressip address 10.0.0.1 255.255.255.0interface
Describe a linkdescription TO-ISPinterface
Enable an interfaceno shutdowninterface
Console / remote linesline console 0 · line vty 0 4global
Line passwordpassword ciscoline
Create a VLANvlan 10 then name DATAglobal / vlan
Access portswitchport mode accessinterface
Access VLANswitchport access vlan 10interface
Trunk native VLANswitchport trunk native vlan 99interface
Voice VLANswitchport voice vlan 150interface
PortFastspanning-tree portfastinterface
Static routeip route NET MASK NEXT-HOPglobal
OSPF processrouter ospf 1 then network NET WILD area 0global / router
Save the configwrite memory or copy run startprivileged
Interfaces summaryshow ip interface briefprivileged
Interface detailshow interfaces g0/0privileged
Routing tableshow ip routeprivileged
VLANsshow vlan briefprivileged
MAC address tableshow mac address-tableprivileged
Spanning treeshow spanning-treeprivileged
Neighboursshow cdp neighborsprivileged
Trunk reportshow interfaces trunkprivileged
Current configshow running-configprivileged
Why does IOS reject my perfectly good command?
Two usual reasons. First, you are in the wrong mode — the prompt tells you: an interface setting will not run at 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

  1. Cisco. IOS Command Reference (EXEC modes, configuration modes, and command syntax). cisco.com.
  2. Cisco. CCNA (200-301) Exam Topics — configuration and verification objectives. cisco.com.
  3. Cisco. Catalyst Switch Command Reference (VLAN, trunk, STP, and interface commands). cisco.com.

Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.