or
Forgot password?

$ cisco_learn --mode interactive

What are you doing
right now?

๐Ÿ”ฅ
Something is broken
Diagnose your PT lab โ†’
๐Ÿ”ง
I need to configure something
Step-by-step PT guides โ†’
๐Ÿงญ
Explore the network
OSI, topology and labs โ†’

// Unofficial educational resource โ€” not affiliated with or endorsed by Cisco Systems, Inc. Ciscoยฎ, IOSยฎ, Packet Tracerยฎ and CCNAยฎ are registered trademarks of Cisco Systems, Inc.

From concept to execution

Follow the path in order, or jump to any stage.

OSI Model
Concept
โ†’
Network Map
Context
โ†’
Commands
Reference
โ†’
Terminal Lab
Execution
โ†’
Troubleshooting
Diagnosis

Everything in one place

learn โ€” concept

OSI Model

7 layers with protocols, common faults and CLI commands. The hub connecting theory to every other tool.

practice โ€” execution

Terminal Lab

Interactive Cisco IOS simulator. 8 fault scenarios โ€” run real commands, see real output.

fix โ€” diagnosis

Troubleshooting

OSI-based playbooks for the 5 most common Packet Tracer faults, with step-by-step commands.

learn โ€” step-by-step

PT Guides

Routing, VLANs, DHCP, NAT/PAT, ACLs, IPv6, SSH โ€” every step with CLI output.

fix โ€” reference

Command Library

Searchable Cisco IOS command reference organized by category, including IPv6 and NAT.

explore โ€” topology

Network Map

Visual topology linked to Terminal Lab scenarios. See the network before you type.

practice โ€” quiz

Quiz

Multiple-choice questions on subnetting, VLANs, routing, NAT and security.

practice โ€” subnetting

Subnetting Trainer

Calculate network addresses, broadcasts and host ranges. Includes binary visualizer.

explore โ€” explainer

Config Explainer

Paste any IOS config and get a plain-English breakdown of every line.

Never used Cisco before?

Start here.

Cisco IOS is the operating system on Cisco routers and switches. You control it through a text CLI โ€” type commands, configure interfaces, set up routing.

Packet Tracer is Cisco's free simulation tool. Build virtual networks without physical hardware โ€” the standard tool for CCNA study.

Start with PT Guides for step-by-step walkthroughs, or open the Terminal Lab to run live IOS commands right now.

Config Generator

Build complete Cisco configurations visually โ€” routers, switches, VLANs, DHCP, OSPF. Paste the output straight into Packet Tracer.

Open Config Generator โ†—

// 01 โ€” commands

Command Library

Searchable reference of common Cisco IOS commands, organized by category.

// see also:

CommandDescriptionExampleCategory

// 02 โ€” subnetting

Subnetting Trainer

Practice calculating subnet values. You get a random IP and prefix โ€” figure out the rest.

How subnetting works: An IP address has two parts โ€” the network portion (set by the prefix length) and the host portion. The network address (all host bits = 0) identifies the subnet itself and cannot be assigned to a device. The broadcast address (all host bits = 1) is used to reach all devices in the subnet simultaneously and cannot be assigned either. That is why usable hosts = 2โฟ โˆ’ 2, where n = number of host bits.

โ€”

Correct: 0 Attempts: 0 Streak: 0 Best streak: 0

IPv6 Subnetting Trainer

IPv6 uses 128-bit addresses in hex. A /64 is the standard LAN prefix โ€” the first 4 groups are the network, the last 4 are the host ID.

How IPv6 addressing works: An IPv6 address has 8 groups of 4 hex digits. With a /64 prefix, the first 4 groups identify the network โ€” the last 4 groups are the host ID. The network address zeros out the host groups, written as 2001:db8:a:1:: (double-colon = consecutive zero groups). There is no broadcast in IPv6 โ€” multicast is used instead.

โ€”

PrefixUse caseHost bitsIPv4 equivalent
/32ISP allocation to a customer site96 bits~/8
/48Enterprise site prefix80 bits~/16
/56Home network (ISP to customer)72 bitsโ€”
/64Standard LAN segment64 bits~/24
/126Point-to-point WAN link (2 hosts)2 bits/30
/128Single host / loopback0 bits/32

VLSM โ€” Variable Length Subnet Masking

Instead of splitting a block into equal subnets, VLSM lets you use different prefix lengths for different needs โ€” saving address space.

Example: You have 192.168.1.0/24 and need to allocate:

Step 1 โ€” sort by size, largest first: LAN-A (60 hosts), LAN-B (28 hosts), LAN-C (12 hosts), WAN link (2 hosts)

Step 2 โ€” assign smallest fitting prefix to each:
  LAN-A: needs 62 usable โ†’ /26 (64 total, 62 usable) โ†’ 192.168.1.0/26
  LAN-B: needs 30 usable โ†’ /27 (32 total, 30 usable) โ†’ 192.168.1.64/27
  LAN-C: needs 14 usable โ†’ /28 (16 total, 14 usable) โ†’ 192.168.1.96/28
  WAN: needs 2 usable โ†’ /30 (4 total, 2 usable) โ†’ 192.168.1.112/30

Key rule: each new subnet starts right after the previous block ends. Never overlap.
SubnetNetworkRangeBroadcastUsable
LAN-A /26192.168.1.0.1 โ€“ .62192.168.1.6362
LAN-B /27192.168.1.64.65 โ€“ .94192.168.1.9530
LAN-C /28192.168.1.96.97 โ€“ .110192.168.1.11114
WAN /30192.168.1.112.113 โ€“ .114192.168.1.1152

CIDR Quick Reference

Common prefix lengths and their subnet masks.

PrefixSubnet MaskUsable HostsUse Case
/30255.255.255.2522WAN point-to-point links
/29255.255.255.2486Small WAN / management
/28255.255.255.24014Small office segment
/27255.255.255.22430Small LAN
/26255.255.255.19262Medium LAN
/25255.255.255.128126Half a /24
/24255.255.255.0254Standard LAN โ€” most common
/23255.255.254.0510Larger LAN
/22255.255.252.01022Campus network segment
/16255.255.0.065534Large enterprise / ISP block

// 03 โ€” explainer

Config Explainer

Paste any Cisco IOS configuration and get a plain-English explanation of every line.

// 04 โ€” guides

Packet Tracer Guides

Step-by-step configuration walkthroughs for common Cisco Packet Tracer scenarios.

// 06 โ€” troubleshooting

Troubleshooting Methodology

Systematic OSI-based approach to diagnosing and fixing network faults in Cisco environments.

Bottom-up approach: Always start at Layer 1 (Physical) and work your way up. A routing problem at Layer 3 is pointless to debug if the cable at Layer 1 is unplugged. Confirm each layer before moving to the next. View the OSI model โ†’
LayerWhat to checkKey commandsCommon fault
L1 Physical โ†’ Cable connected, port not disabled, correct media show interfaces Status: down/down โ€” cable fault or shutdown
L2 Data Link โ†’ Correct VLAN, trunk config, no duplex mismatch show vlan brief
show interfaces trunk
show mac address-table
Status: up/down โ€” encapsulation or VLAN mismatch
L3 Network โ†’ IP address, subnet mask, default gateway, routing table show ip interface brief
show ip route
ping / traceroute
Wrong mask, missing route, wrong gateway
L4 Transport โ†’ Correct port open, ACL not blocking, NAT translations show ip nat translations
show access-lists
telnet <ip> <port>
ACL denying traffic, NAT not translating

Common Scenarios

Click a scenario to expand the diagnostic steps.

// 05 โ€” quiz

Test Your Knowledge

Multiple-choice questions on Cisco networking. Up to 20 questions, randomized order.

๐Ÿ†
Achievement Unlocked

Profile

> // choose avatar

> // achievements

Badges earned through your learning journey.

// โ˜… terminal lab

Terminal Lab

Interactive Cisco IOS shell. Pick a scenario, enter privileged mode with enable, and troubleshoot.

๐Ÿ’ป
PC
192.168.1.10
๐Ÿ”€
Router
NetCLI
โ˜๏ธ
ISP
8.8.8.8
NetCLI>

Try: enable โ†’ show ip interface brief โ†’ ping 8.8.8.8 ยท Tab completes ยท โ†‘/โ†“ history ยท clear clears screen

// โ–ฃ network map

Network Map

Live view of the active terminal scenario โ€” devices, interfaces and link health.

Active scenario: โ€”

// โ–ค osi model

The OSI Model

Seven layers โ€” from copper to code. Click a layer to expand examples, common faults and the Cisco CLI commands that diagnose each one.

Why it matters: The OSI model is the mental map every network engineer uses to isolate faults. When something breaks, you don't guess โ€” you walk the stack. Start at Layer 1 (is the cable in?) and move upward only when the layer below is confirmed healthy. Each layer adds its own header, its own concerns, and its own show commands.
Mnemonic (bottom โ†’ top): Please Do Not Throw Sausage Pizza Away โ€” Physical ยท Data Link ยท Network ยท Transport ยท Session ยท Presentation ยท Application.

// learn โ€” protocol numbers

IP Protocol Numbers

The IP header's Protocol field (8 bits) identifies what's inside the packet. These are the numbers that matter for Cisco networking and troubleshooting.

What is a protocol number? Every IP packet has a Protocol field in its header (byte 10). This tells the receiving device what comes next โ€” TCP (6), UDP (17), OSPF (89), etc. ACLs that match ip traffic see all of these. To match specifically, use the protocol number or keyword (permit tcp, permit ospf).

Not the same as port numbers. Protocol numbers identify the transport layer or encapsulation. Port numbers live inside TCP/UDP segments and identify the application. See for ports.

// learn โ€” port reference

Port Reference

Well-known TCP and UDP ports relevant to Cisco networking, Packet Tracer labs and ACL configuration. Organised by function, not by number.

0 โ€“ 1023 ยท Well-known (IANA assigned) 1024 โ€“ 49151 ยท Registered (vendor/app use) 49152 โ€“ 65535 ยท Dynamic / Ephemeral (client source ports)
ACL tip: Extended ACLs match both source and destination port. To permit inbound SSH: permit tcp any host 10.0.0.1 eq 22. To permit DNS responses back: permit udp any eq 53 any. For return TCP traffic use established or a stateful firewall. See for the IP-level protocol field.