Cisco IOS Cheatsheet

Free searchable Cisco IOS cheatsheet: show commands, interfaces, VLANs, trunks, static routes, OSPF, ACLs, SSH set-up and saving the configuration.

Frequently asked questions

What is the difference between running-config and startup-config?

The running configuration is what the device uses now, held in memory. The startup configuration is saved in NVRAM and loads when the device starts. Changes go into the running configuration straight away, and are lost on a reload unless you save them with copy running-config startup-config.

Should I use enable password or enable secret?

Use enable secret. It stores the password as a hash. enable password stores it as plain text, or with weak type 7 encoding if service password-encryption is on, and type 7 is easy to reverse. If both are set, enable secret is used.

Why does my wildcard mask look back to front?

ACLs and OSPF network statements use wildcard masks, which are the inverse of a subnet mask: 0 means "must match" and 1 means "ignore". So 255.255.255.0 as a subnet mask is 0.0.0.255 as a wildcard mask.