SONiC Configuration Guide
Learning tracks
Guides in the order to read them.
Learning track
Enterprise SONiC: Introduction and Basics
Start here: build a SONiC lab, log in, manage users and configuration, then configure interfaces, VLANs, port channels and MCLAG.
11 articles
Learning track
Enterprise SONiC: Routing
Static routes, OSPF, BGP and BGP unnumbered, and first-hop redundancy with VRRP on Enterprise SONiC.
5 articles
Learning track
Enterprise SONiC: EVPN-VXLAN
From a first EVPN-VXLAN fabric to asymmetric and symmetric IRB, anycast gateway, multihoming and multi-site data center interconnect.
6 articles

Enterprise SONiC in GNS3
Build a SONiC lab on your computer without any hardware. This step-by-step guide shows how to download the Enterprise SONiC virtual switch image, generate the GNS3 appliance file (including the macOS fix), import it into GNS3 and boot your first SONiC switch.

SONiC CLI Basics: Login and Command Modes
New to Enterprise SONiC? This guide shows how to log in through the console or SSH, move from the Linux shell to the SONiC CLI, and understand the CLI modes, user roles and the essential commands to navigate and verify your switch.

SONiC Interface Configuration Guide
Get started with interface configuration in Enterprise SONiC. This guide covers setting the port speed and autonegotiation, enabling and disabling interfaces, assigning IP addresses to routed ports and VLAN interfaces, and reading the status outputs.

SONiC Out-of-Band Management Interface
Access and manage your SONiC switches remotely over a dedicated out-of-band network. This guide shows how to configure a static IP address and default gateway on the Management0 interface in Enterprise SONiC, and how to verify its configuration and status.

SONiC Running and Startup Configuration
Understand the difference between the running and startup configurations in Enterprise SONiC. This guide shows how to view and save your configuration, and how to safely restore factory defaults with write erase and its options.

Users and Sessions Management
Manage user accounts in Enterprise SONiC: create local users with admin or operator roles, and configure login lockout to protect your switches against brute-force attacks. Includes commands, defaults and verification steps.

SONiC VLAN Configuration Guide
A hands-on guide to VLANs in Enterprise SONiC: create VLANs, configure access and trunk ports on two switches, and verify the setup with show vlan, MAC address tables and an end-to-end ping test.

SONiC VLAN Translation Configuration
Connect network domains that use different VLAN numbering without renumbering. This guide shows how to configure VLAN translation in Enterprise SONiC, from the TD4 prerequisites to CVLAN-to-SVLAN mapping and verification.

SONiC Q-in-Q VLAN Tunneling Configuration
Carry customer VLANs across a provider network while keeping their original tags. This guide explains how Q-in-Q differs from VLAN translation and how to configure dot1q tunneling in Enterprise SONiC, step by step.

SONiC Port Channel and LACP Configuration
Bundle multiple physical links into one logical interface for more bandwidth and redundancy. This guide shows how to create a port channel in Enterprise SONiC, configure LACP options such as fast rate and min-links, add members, and verify the result.

SONiC Anycast Gateway Configuration
Configure a static anycast gateway in Enterprise SONiC so that multiple switches share the same default gateway IP and MAC address. This step-by-step guide covers the configuration, verification, and a failover test with packet capture.

SONiC MCLAG Configuration Guide
Connect a server or switch to two SONiC switches with a single port channel. This step-by-step guide explains the roles of the peer link and keepalive link, shows how to configure an MCLAG domain in Enterprise SONiC, and tests failover with a live ping.

SONiC VRRP Configuration Guide
Give your hosts a highly available default gateway with VRRP. This step-by-step guide shows how to configure a VRRP group, virtual IP, priority and preemption in Enterprise SONiC, then tests gateway failover and recovery in a live lab.

SONiC Static Routing Configuration
Build end-to-end IP reachability with static routes in Enterprise SONiC. This step-by-step guide shows how to configure interfaces and static routes, read the routing table, test connectivity, and use default and floating static routes.

SONiC OSPF Configuration Guide
Set up dynamic routing with OSPFv2 in Enterprise SONiC. This step-by-step guide configures OSPF on a four-switch lab, explains how to read neighbor and routing tables, including ECMP and costs, and tests convergence after a link failure.

SONiC BGP Configuration: iBGP and eBGP
Configure BGP in Enterprise SONiC step by step. This guide builds an iBGP full mesh over loopbacks, peers with an external AS through eBGP, uses next-hop-self on the border router, advertises networks, and explains how to read BGP sessions and tables.

SONiC BGP Unnumbered Configuration
Run BGP without IPv4 addresses on your point-to-point links. This guide explains how BGP unnumbered works with IPv6 link-local addresses and RFC 5549, and shows how to convert an eBGP session in Enterprise SONiC step by step, with verification.

SONiC EVPN-VXLAN Configuration
Extend Layer 2 across a routed spine-leaf fabric. This guide shows how to build an EVPN-VXLAN fabric in Enterprise SONiC: eBGP underlay, EVPN control plane, VTEPs and VLAN-to-VNI mapping, then how to verify the tunnels, EVPN routes and MAC learning.

SONiC EVPN-VXLAN Inter-VLAN Routing with Asymmetric IRB
Route between VLANs in an EVPN-VXLAN fabric without a central router. This guide adds a second L2VNI in Enterprise SONiC, configures a distributed anycast gateway on every leaf, and explains asymmetric IRB with a packet capture of the routed traffic.

SONiC EVPN-VXLAN Symmetric IRB with L3VNI
Route between VLANs through a tenant VRF and an L3VNI. This guide configures symmetric IRB in an Enterprise SONiC EVPN-VXLAN fabric, explains Type-2 and Type-5 routes and router MACs, and shows the L3VNI in a packet capture.

SONiC Multi-Site Data Center Interconnect (DCI)
Interconnect two EVPN-VXLAN data centers while keeping them independent. This guide builds two Enterprise SONiC fabrics, then configures border leaves with an external IP and fabric-external BGP peering, and follows a packet across three VXLAN tunnels.

SONiC EVPN-VXLAN Multihoming
Connect a device to two leaves with an all-active LACP port channel and no peer link. This guide configures EVPN multihoming and uplink tracking in Enterprise SONiC, explains Ethernet segments, the DF and Type-1/Type-4 routes, and tests three failure scenarios.

SONiC Third-Party Containers: Running a DHCP Server
Run your own applications on Enterprise SONiC with the third-party container framework. This guide installs a dnsmasq DHCP server with tpcm, explains why DHCP broadcasts do not reach the switch CPU by default and how to activate the DHCP trap, and validates a full DHCP exchange with a MikroTik client.
