Free tech learning for everyone, from basics to pro

Cisco command practice

Type real Cisco switch commands and see what the switch answers, right here in your browser. Follow the 12 lab tasks to build VLANs, access ports and a trunk, then save your work. Nothing to install.

Console: SW-LAB (simulated Cisco 2960)

Type a command and press Enter. Tab completes a word, ↑ brings back the last command, ? lists the commands for the mode you are in. Short forms work, like conf t and int fa0/1.

Commands you can practise

ModePromptCommands
User EXECSwitch>enable, show version
Privileged EXECSwitch#configure terminal, show vlan brief, show ip interface brief, show interfaces trunk, show interfaces status, show running-config, copy running-config startup-config, write memory, ping, disable
Global configSwitch(config)#hostname, vlan 10, interface fa0/1, interface range fa0/5 - 24, interface vlan 1, enable secret, ip default-gateway, service password-encryption, banner motd #text#, line con 0, line vty 0 4, do show …
VLAN configSwitch(config-vlan)#name STAFF
Interface configSwitch(config-if)#switchport mode access, switchport access vlan 10, switchport mode trunk, switchport trunk allowed vlan 10,20, switchport trunk native vlan 99, description, shutdown, no shutdown, ip address (on interface vlan)
Line configSwitch(config-line)#password, login, transport input ssh

This is a practice simulator that runs in your browser. It copies how a Cisco switch answers, but it is not a real device, so a few outputs are simplified. Learn the background in IOS CLI basic configuration and VLANs and trunks, then keep the Cisco cheat sheet next to you.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.