dev.rean.me
ccna

11 - CCNA 1 Cheat Sheet with Examples

Review essential CCNA 1 networking terms, IPv4 addressing, subnetting, common ports, Cisco CLI modes, and verification commands with examples.

2026-10-28 · 6 min read

Share:

Use this CCNA 1 cheat sheet to review core networking concepts and common Cisco IOS commands. The examples use documentation addresses and a lab switch; adapt interface names and addresses to your own authorized lab.

Network basics

  • Host: A device that sends or receives network traffic.
  • Switch: Forwards Ethernet frames within a local network, using MAC addresses.
  • Router: Forwards packets between IP networks, using IP addresses and a routing table.
  • LAN: A local area network, usually covering a limited area.
  • WAN: A wide area network connecting networks across larger distances.
  • Default gateway: The local router address a host uses to reach other networks.
  • Encapsulation: Each networking layer adds information needed to deliver data.

OSI model

LayerNameExample
7ApplicationHTTP, DNS
6PresentationData format and encryption
5SessionManages communication sessions
4TransportTCP, UDP
3NetworkIP addressing and routing
2Data LinkEthernet frames and MAC addresses
1PhysicalCables, fiber, and signals

When troubleshooting, move from physical connectivity upward: check the link, local network settings, routing, and then the application.

IPv4 address and subnet example

An IPv4 address is 32 bits, usually written as four decimal octets. A prefix length identifies the network portion.

Example: 192.0.2.25/24

  • Subnet mask: 255.255.255.0
  • Network address: 192.0.2.0
  • Usable host range: 192.0.2.1–192.0.2.254
  • Broadcast address: 192.0.2.255

For a /24, the first 24 bits are the network portion and the last 8 bits are for host addresses. The first address identifies the subnet and the last is its broadcast address, so neither is assigned to a typical host.

Common prefix reference

PrefixSubnet maskTotal addressesTypical usable hosts
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/30255.255.255.25242

These usable-host counts assume a traditional IPv4 subnet where the network and broadcast addresses are reserved.

Private IPv4 ranges

These address ranges are reserved for private networks and are not routed on the public internet:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

Use the addresses assigned to your lab or network. An IP address, subnet mask, and default gateway must be appropriate for the network where the device is connected.

Common protocols and ports

ProtocolDefault portPurpose
FTPTCP 20/21File transfer; not encrypted by default
SSHTCP 22Secure remote command-line access
TelnetTCP 23Remote command-line access; not encrypted
DHCPUDP 67/68Automatically assigns IP configuration
DNSUDP/TCP 53Resolves names to IP addresses
HTTPTCP 80Web traffic
HTTPSTCP 443Encrypted web traffic
TFTPUDP 69Simple file transfer; not encrypted

Ports are defaults; services may be configured to use different ports.

Cisco IOS command modes

Prompt exampleModeCommon use
Switch>User EXECBasic inspection
Switch#Privileged EXECVerification and device management
Switch(config)#Global configurationDevice-wide settings
Switch(config-if)#Interface configurationConfigure a specific interface

Use enable to enter privileged EXEC mode, configure terminal to enter global configuration mode, exit to go back one level, and end to return to privileged EXEC mode.

Basic switch configuration example

This example labels a port and enables it. Interface names vary by model:

enable
configure terminal
hostname Switch1
interface GigabitEthernet0/1
description Connected-device
no shutdown
end
show interface status

On a Layer 2 switch, a management IP is commonly configured on a VLAN interface, and ip default-gateway points to the router on that management subnet. Use values and VLANs assigned for your lab.

configure terminal
interface vlan 1
ip address 192.0.2.10 255.255.255.0
no shutdown
exit
ip default-gateway 192.0.2.1
end
copy running-config startup-config

Useful verification commands

Run these from privileged EXEC mode (#):

CommandWhat it helps check
show running-configActive configuration
show startup-configSaved configuration
show ip interface briefInterface IP addresses and status
show interfacesInterface details and counters
show mac address-tableMAC addresses learned by a switch
show versionDevice and software information
ping 192.0.2.1Basic reachability to an IP address
traceroute 198.51.100.10Path toward a destination, where supported

If a command is not available, use ? to see options for the current device and command mode. Output and support can differ across platforms.

Quick troubleshooting checklist

  1. Check power, cables, and link/interface status.
  2. Confirm the IP address and subnet mask on each device.
  3. Check that devices on the same subnet have compatible addressing.
  4. For a remote destination, verify the default gateway and routing.
  5. Use ping and relevant show commands to narrow down where communication stops.
  6. Change one setting at a time, then test again.

Save and back up configurations

Save the current running configuration to startup configuration when you are ready to keep your changes:

copy running-config startup-config

In a private lab, you can also copy a configuration to or from a TFTP server. TFTP does not encrypt data, so do not use it over an untrusted network or expose configuration files containing sensitive settings.

Cisco CCNA1 Introduction and Switch and Router Modes

CCNA 1 Tips and Tricks for Beginners

Set a Default Gateway on a Cisco Switch

Configure a Port on a Cisco Switch

Save a Cisco Configuration to a TFTP Server

← Back to ccna
Share: