SonicLab18 lessons · Available
SONiC · Operator and implementation curriculum

Understand the switch.
Then operate it.

Eighteen concise lessons connect configuration, services, and databases to L2/L3 forwarding, routing integration, and source-level investigation.

18 authored lessons108 quiz questionsCommunity 202505 source baseline

The bounded curriculum is complete as learning material. All configuration, traffic, fault, and recovery examples remain illustrative. Website validation does not establish live SONiC or physical ASIC behavior.

Start with SONiC foundations →

Foundations · Available

Foundations

01

Introduction to SONiC

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
02

Architecture and Services

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
03

Databases and the Configuration-to-Forwarding Path

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
Configuration & Management · Available

Configuration & Management

04

Configuration and Operational State

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
05

Inspecting Interfaces and Routes

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
06

Persistence, Changes, and Recovery

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
L2 forwarding · Available

L2 forwarding

07

VLAN Membership and MAC Learning

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
10

Tagged VLAN Links

Extend one VLAN across an explicit tagged link and verify both ends of the membership contract.

Available
L3 forwarding · Available

L3 forwarding

09

Static Routes and Forwarding

Core operator lesson with original illustration, evidence, takeaways, and quiz.

Available
13

ECMP and Next-Hop Groups

Represent two eligible next hops, inspect their dependencies, and avoid turning route multiplicity into a distribution claim.

Available
Routing services · Available

Routing services

14

BGP Integration and Operations

Follow an existing BGP neighbor from configuration intent through selected routes to packet evidence.

Available
15

OSPF Integration and Image Support

Establish the image and management-mode prerequisite before diagnosing an OSPF-derived route.

Available
Inside the switch · Available

Inside the switch

16

Packet Path and SAI Evidence

Trace one routed destination across software boundaries without confusing object state with hardware readback.

Available
17

Virtual Tests and Fault Isolation

Turn a small scenario into a reproducible acceptance test and a useful fault report, without overstating virtual evidence.

Available
Implementation workflow · Available

Implementation workflow

18

Development and Test Workflow

Translate an operator symptom into a bounded source change, a regression test, and a reviewable validation plan.

Available
The organizing idea

From intent to forwarding

SONiC combines Linux, containerized services, shared databases, and a hardware abstraction boundary. Use this map to connect each topic to its place in the system.

Simplified SONiC architectureConfiguration and routing services exchange state through Redis databases. SWSS orchestration and SAI Redis feed syncd, then vendor SAI and SDK program the ASIC. User traffic crosses physical ports through the ASIC, separately from control state.Configuration / managementCLI · models · CONFIG_DBRouting & other servicesFRR · LLDP · platform monitoringRedis databasesCONFIG_DB · APPL_DBSTATE_DB · COUNTERS_DBSWSS / orchagentSAI Redis → ASIC_DBsyncdVendor SAI / SDKSwitch ASICHardware forwardingFront-panel portsIngress / egress packetsControl state programs forwarding; transit packets do not flow through Redis.
Original conceptual illustration, simplified for a typical single-ASIC system. Component placement and paths vary by release, platform, and feature. Architecture reference · SAI Redis

Complete lesson inventory

Read core lessons 01–09 first, then use the five practical groups and implementation workflow. The established numbering is retained so earlier links remain stable.

LessonTitleGroup
01Introduction to SONiCFoundations
02Architecture and ServicesFoundations
03Databases and the Configuration-to-Forwarding PathFoundations
04Configuration and Operational StateConfiguration & Management
05Inspecting Interfaces and RoutesConfiguration & Management
06Persistence, Changes, and RecoveryConfiguration & Management
07VLAN Membership and MAC LearningL2 forwarding
08Routed Interfaces and Neighbor ResolutionLinks and neighbors
09Static Routes and ForwardingL3 forwarding
10Tagged VLAN LinksL2 forwarding
11IPv6 Neighbor DiscoveryLinks and neighbors
12LAGs and Link ValidationLinks and neighbors
13ECMP and Next-Hop GroupsL3 forwarding
14BGP Integration and OperationsRouting services
15OSPF Integration and Image SupportRouting services
16Packet Path and SAI EvidenceInside the switch
17Virtual Tests and Fault IsolationInside the switch
18Development and Test WorkflowImplementation workflow

Practice and evidence boundaries

Lesson17 specifies a reproducible virtual acceptance test, one controlled fault, and a restoration predicate. A separate lab must select a compatible image/harness, allocate resources, and protect management access before execution. Individual lessons specify their starting state and scope.

Virtual tests cannot establish optics support, physical port behavior, ASIC scale, buffer/QoS timing, or line-rate performance. Physical platform validation remains separate. BGP/OSPF lessons focus on SONiC integration and operations; OSPF includes an explicit image/management-mode capability gate.

Review and validation

All eighteen lesson pages are available, with original diagrams, takeaways, and six-question modal quizzes. Each lesson includes focused explanations, operational examples and a short quiz.

The scope excludes deployment, a running lab, hardware certification, and automatic source builds. The implementation lesson explains how to plan a bounded patch and its tests without changing the reference checkout.

Official source baseline

Community release-source snapshots and separate Windows source inspections are recorded per lesson. Branches were resolved to commits; version-specific behavior and external FRR semantics are identified explicitly.