🖧

Layer 2 Switching Mastery Lab

Interactive Assignment

CLI Modes • MAC Table • Port States • Spanning Tree (STP) • Link Aggregation • Switch Stacking

Lab Missions Completed 0 / 7 (0%)

🧭 Cisco IOS CLI Mode Hierarchy (Live State Tracker)

Notice how the command prompt changes as you move deeper into configuration modes.

Current: User EXEC (Switch>)
1. User EXEC Switch>

Limited view-only mode. Cannot view full config or change settings.

Next: Type enable
2. Privileged EXEC Switch#

Run all show diagnostics (`show interfaces`, `show mac address-table`, `show spanning-tree`).

Next: configure terminal
3. Global Config Switch(config)#

Modify switch-wide settings (hostname, STP priority, VLANs).

Next: interface fa0/1
4. Interface Config Switch(config-if)#

Enable/disable a specific port (shutdown / no shutdown) or bundle LACP.

Back: exit or end

🔌 Interactive Switch Faceplate & Port States (`show interfaces`)

Click any port to inspect its Layer 1 (Physical Status) vs. Layer 2 (Line Protocol) state, or toggle physical cables.

CISCO CATALYST 2960-24TT Hostname: Switch
up/up (Forwarding) STP Blocked Admin Down (`shutdown`) down/down (No Cable)
Understanding `show interfaces` Port Status Codes Layer 1 / Layer 2
FastEthernet0/1 is up, line protocol is up (connected)

Cable is plugged in (Layer 1 UP) and keepalives/frames are flowing normally (Layer 2 UP).

up/up
FastEthernet0/4 is down, line protocol is down (notconnect)

Port is enabled in config, but no cable is attached or connected PC is powered off.

down/down
FastEthernet0/3 is administratively down, line protocol is down (disabled)

An administrator disabled the port using shutdown. Fix with no shutdown.

admin down
Cisco IOS Console — Switch0 (TTY0)
Quick Insert:
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE4
Type ? or help for available commands in your current mode.
Tip: Complete the 7 Guided Lab Missions in the right panel!
 
Switch>