Skip to main content

Dell Technologies Enterprise SONiC Edge

Oct 19, 2026
Dell Technologies Enterprise SONiC Edge This deployment guide describes the deployment of the Dell Technologies Enterprise SONiC Edge bundle at retail edge location use case.

Introduction

Introduction

Dell Technologies is an early pioneer in data center network fabrics and offers solutions that maximize customer choice, innovation, flexibility, and lower costs. The open solutions enable customers to simplify their data center networking through complete disaggregation. Dell Networking believes that our open network solutions simulate rapid innovation by helping our customers achieve unprecedented levels of flexibility and efficiency. Dell Technologies provides further customer enablement through validated deployment guides that demonstrate these benefits while maintaining a high standard of quality, consistency, and support.

Open solutions prove to be the best solutions, as they provide choice, flexibility and do not need to be constrained by propriety software. However, for Ethernet switches, there are few open network operating systems (NOS). Customers want to build and manage high-performance, highly scalable, and highly available data centers. The main requirements for their needs are:

  • Use the best-of-breed switching hardware for the various tiers of the network.
  • Deploy new features without impacting end users and services.
  • Roll out updates reliably and securely across the complete fabric in a minimal amount of time.
  • Use fully automated failure mitigation and cloud-scale deep telemetry.

SONiC, which is an acronym for “software for open networking in the cloud”, is an open-source network operating system based on Debian Linux that runs on switches from multiple vendors. SONiC offers a full feature set that has been in use in the data centers of some of the largest cloud service providers. Because it is open-source, SONiC helps users use the collective strength and take advantage of the vast ecosystem and community.

Enterprise SONiC Distribution by Dell Technologies helps IT organizations run their businesses with the innovation, automation, and reliability that comes from a commercial offering based on the open-source SONiC operating system. It includes feature enhancements and hardening targeted for demanding data center leaf and spine fabrics while maintaining the open-source spirit.

Customers not only benefit from Dell Technologies enhancements, including hardening and validation of enterprise-ready data center fabric use cases, but also the support of select Dell PowerSwitch family of industry-leading open networking switches. Customers can take full advantage of around-the-clock, consistent, single-source support offered in 165 countries with over 60,000 Dell Technologies and partner professionals. Dell Technologies also provides an innovative cloud network life solution that automates and simplifies the design, deployment, and assurance of network services in the cloud, built around customers’ specific needs. These features help customers improve network availability, monitoring, resiliency, security, and scalability throughout the network.

Enterprise SONiC Edge network deployments change at a rapid pace. IT managers must support an increasing variety of users and devices throughout their organizations. Simultaneously, they must adapt their networks to address the needs of key business functions while providing reliability, performance, and flexibility.

Today’s businesses require networks to provide reliable high-performance wired and wireless connectivity. These networks must be capable of delivering rich applications and access to corporate resources regardless of device form factors. 

In addition, business owners today ask their IT staff to be more agile by delivering network access in shorter deployment times with fewer resources.

This guide provides an example of the steps to deploy the Enterprise SONiC Edge Bundle at a retail edge location. Multiple control plane protocols of choice can be used. VXLAN BGP EVPN is chosen as it is flexible and fits solutions that require L2 connectivity on an L3 underlay on Leaf-Spine networks that are building blocks of modern data centers. These can support myriad of use cases.

Typographical conventions

The CLI and UI examples in this document use the following conventions:

Monospace Text   CLI examples

Underlined Monospace Text  CLI examples that wrap the page

Italic Monospace Text   Variables in CLI examples

Bold Monospace Text Commands entered at the CLI prompt, or to highlight information in CLI output

Bold text    UI elements and information entered in the UI

Defining Enterprise Network Edge

Defining Enterprise Network Edge

The emerging trends in networking at Branch and Retail Edge is impacting the architectural decisions of service providers, enterprise users, and edge users. The increasing shift to localized customer-focused operations with LOB-demand-driven customer-analytics sees an exponential increase in Edge Data generation and an inherent fear of returning to a disparate, regionalized technology sprawl. Dell Technologies Enterprise SONiC addresses all these trends in the data centers.

What is Network Edge?

Network Edge is a distributed computing paradigm that brings computation and data storage as close as possible to the sources of data. It is expected to improve response times and save bandwidth to reduce the strain on data centers. This paradigm is an architecture rather than a specific technology. It is a topology and location-sensitive form of distributed computing.

As can be seen in the following figure, the data center or the cloud in the middle represents the core network. Everything outside of that core network is considered edge.

Figure 1.   Network Edge reference diagram

Trends at the Edge

Some trends that are coming at the edge are cybersecurity, quantum computing, robotic process automation, 5G, IoT, virtual reality, blockchain, and AI and ML capabilities. Each of these trends requires networking, computing, and storage to be as close to the user or device as possible to function as a network edge.

Challenges at the Edge

Each of these trends share challenges such as latency and bandwidth. For example, a Blockchain transaction requires local processing to hash algorithms as quickly as possible before sharing those hash keys across the core network for transactions. It is not feasible or scalable to have to traverse the entire network back to the data center to process the transaction.

For connectivity, devices must be able to communicate successfully with each other and be able to share their data. This requirement can lead to complex network architectures. These architectures must be configurable with near zero errors, which means that they must be able to be automated to maintain that level of connectivity.

Management and security are a challenge because these devices are not necessarily stored as they are in data centers where-in they can typically be found in wiring closets at the site. Connectivity cables going into kiosks or directly into the phones can be manipulated easily or unplugged. You must ensure that only valid devices are connected to the network.

There are business verticals that fall under the edge categories like oil and gas, finances, manufacturing, and healthcare. There are as many different edge cases as there are users.

Gartner projects that in the next four years, there will be 27 percent growth reaching $80 billion in this networking space, and networking edge’s total addressable market will grow at about 16 percent compound annual rate to about $7.8 billion. Network switching alone will grow to about $1.2 billion by 2025. 

The following figure shows the focus of Dell Technologies regarding Edge:

Figure 2.   Defining near and far edge

Enterprise premises

The far edge is where the network is closest to end devices. It is typically seen at retail edges like self-checkout machines, voice-over-IP phone systems, and security systems at grocery stores or at a retail outlet. After self-checkout, the data is stored locally and later sent to the main data center at the end of the business day for reconciliation and inventory management.

Network Edge

The network edge is outside of the cloud and the data center as shown in the preceding figure. The end points are typically remote offices with a smaller data center and some edge devices like virtual desktop infrastructure, WIFI controllers, voice-over-IP phone systems, badge readers, security systems, and facial recognition cameras.

Enterprise SONiC from Dell Technologies

SONiC is based on Linux and a version of the open-source version of SONiC. It can be found in many data centers such as at Microsoft, Alibaba, and LinkedIn.

Figure 3.   Benefits of Dell Technologies Enterprise SONiC

Because SONiC is based on Linux, you can use existing Linux tools to manage and operate the system and program the network. SONiC uses OpenConfig models, REST/JSON, and Google RPC and containers to run network functions. Routing functions that are built into the switch that are typically handled by services running through the operating system now run through their own standard containers. They are monitored and managed like containers in a data center. This containerization allows customers to add their own containers to the system in case they want to run their proprietary software package to extend the capability of the switch.

Another innovation is that SONiC is cloud ready and has been widely deployed, for example, in Azure and Microsoft web services, Alibaba, LinkedIn, and customers inside Dell Technologies.

Silicon vendors drive innovation. When new capabilities and new features come out in the networking stacks, hardware vendors program them into their chipsets using switch abstraction interface (SAI). These enhancements allow them to adopt SONiC at a more rapid pace than in a traditional network operating system where feature velocity is blocked by NOS constraints.

Using Enterprise SONiC

The following figure shows how Enterprise SONiC can be used across the entire spectrum of networking fabric:

Figure 4.   End-to-End Enterprise SONiC deployment reference

SONiC is already used in data centers in the cloud. The features and capabilities that allow SONiC to thrive there, such as automation, telemetry, and the open-source compatibility with rest APIs gNMI and OpenConfig Yang models, make it successful for the data center. These features and capabilities can be used at the Near edge and can use the automation tools that are already deployed, understood, and are familiar for managing and operating the network.

Also, automation technologies that are built with our other partners such as Apstra, Augtera, and Dorado can be used for monitoring and management. You can achieve a repeatable style of deployment. When deployment must scale, the automated process can easily build up the network, by building out the edge, remote offices, and new branch offices.

When deploying at the far edge like retail sites, remote oil rigs, and infrastructures with IoT devices, there is the need to be connected to process control hardware. For example, if the doors of a refrigeration unit are left open, the chillers that monitor its temperature send alerts. This infrastructure is smaller and requires smaller footprint switches. Dell Technologies switch platforms that are available for enterprise SONiC can run on those smaller footprint switches and program, deploy, and manage those networks like in the data center and using the same network operating system platform.

Enterprise SONiC Edge bundle

Enterprise SONiC edge from Dell Technologies is a software bundle that is designed primarily for edge use cases. It is a customized version of Dell enterprise SONiC that is lighter in weight and designed to run on edge-class Dell networking switches. A typical edge deployment topology is shown below in figure 4.

Edge bundle capabilities include L3 capabilities such as BGP, voice VLANs, MLAG for redundancy, multicast capabilities, ACL, PoE/PoE+, port security, 802.1 X, AAA with radius and Tacacs, and user containers.

Figure 5.     Enterprise SONiC Edge deployment Use Case

With Enterprise SONiC edge, customers can extend the data center fabric to remote locations using the same network operating system and tools used in their data centers such as Ansible and Telegraph. They can also use VxLAN to stretch the fabrics and the EVPN control plane for L3 routing, providing the required bandwidth and low latency that their edge devices require without having to back off all the way back to the cloud or to the data center.

POE/PoE+ capabilities provide power for voice-over-IP phones, IP cameras, medical, and security devices. Port security is needed to verify and validate only those devices that are required to be physically connected to the network and get network access.

Automation and management tools that customers use in the Enterprise SONiC in the data center can be used for the edge switches now. User container support for third-party applications on edge switches allows customers to extend the functionality of this switch and get more capabilities and use out of them.

Network Edge Architecture Overview

Network Edge Architecture Overview

Modern data center networks are designed to serve the connectivity needs of applications that are considerably different from traditional client/server applications. In the client/server era, the traffic volume was small. With the dominance of highly clustered, distributed applications, there is a massive increase in east-west traffic in the data center (server-server, server-storage, and so on). A customer virtual machine (VM) might reside across multiple nodes but needs to communicate smoothly. Customers now want to quickly set up a private network for cloud. Thus, the need for rapid deployment becomes obvious. In addition, customers want to scale out the network in such a way that if one link or multiple links fail, there is no significant failure. An alternative to the traditional access-aggregation-core network model is becoming more widely used. The following figure shows this architecture, which is known as a Clos or leaf-spine network and is designed to minimize the number of hops between hosts:

Enterprise SONiC CLOS Reference Architecture

Figure 6.   Enterprise SONiC CLOS Reference Architecture

In a leaf-spine architecture, the access layer is referred to as the leaf layer. Servers and storage devices connect to leaf switches at this layer where all switches are typically the same model. At the next level, the aggregation and core layers are condensed into a single spine layer. Every leaf switch connects to every spine switch to ensure that all leaf switches are no more than one hop away from each other for predictable performance. This minimizes latency and the likelihood of bottlenecks in the network. Each leaf-spine network is called a POD or a cluster. Some networks may have an additional third tier of spine connecting all the clusters called the interpod spine layer or superspine.

A leaf-spine architecture is highly scalable. As administrators add racks to the data center, a pair of leaf switches is added to each new rack. Spine switches can be added as bandwidth requirements increase. With more than two spines, the loss of a single link/node is not catastrophic as the rest of the network continues to use the available bandwidth.

The total number of leaf-spine connections is equal to the number of leaf switches multiplied by the number of spine switches. The bandwidth of the fabric may be increased by adding connections between leafs and spines if the spine layer has capacity for the additional connections.

Layer2, Layer3, and overlay technologies can be deployed on these leaf/spine fabrics to achieve the data center functionality. Based on the network size, scale and application needs, either of these technologies can be used.

Typical edge deployment uses all three types based on the scale and usage. In this document, overlay technology is deployed as it is the most versatile control plane and can also provide multisite data center interconnect technology that is used to interconnect the multiple retail edge networks to the core data center networks. Because this type of multisite DCI is common in retail edge use cases, it helps to understand how it is deployed at the edge.

Multi-Chassis Link Aggregation (MCLAG)

Connecting the server’s Network Interface Card (NIC) to a single leaf or pair of leafs is possible. Providing path diversity from the servers to the network offers redundancy for equipment failures, but also reduces downtime during upgrades. Path diversity may have the added benefit of increased throughput when active/active mode is used. Connecting a rack of servers to a single leaf might simplify and reduce networking costs, but the failure or upgrade of a single leaf will cause a significant capacity loss.

A ToR consisting of a pair of leaf switches can be configured with (MCLAG to support dual homing. MCLAG supports active/active Layer 2 connectivity with a Link Aggregation Group (LAG) between a server and a leaf pair. Leaf pairs with MCLAG appear to the NIC as a single switch. Smaller data centers might prefer dual homing if losing a rack of servers is not tolerable. However, deploying an MCLAG adds additional complexity to the configuration and operation.

Network virtualization

VXLAN protocol

VXLAN is designed to scale a Layer 2 network over the IP network commonly deployed in data centers and is described in RFC 7348. It uses UDP/IP as the primary encapsulation technology to allow existing network equipment to load balance packets over multiple paths. In VXLAN, the tunnel edges are called VXLAN tunnel endpoints (VTEPs). 

VXLAN is a tunneling protocol that provides new ways to scale the tenants while decoupling the underlay network from a tenant overlay network using a Layer 3 IP-based underlay coupled with a VXLAN-EVPN overlay. Customers can now deploy much larger networks with endpoints (servers or virtual machines) to be placed anywhere in the network and which remain connected to the same logical L2 network. EVPN is the control plane for VXLAN that resolves scalability concerns and reduces flooding in the network. It uses multiprotocol BGP (MP-BGP) to exchange information between VXLAN tunnel endpoints (VTEPs). EVPN was introduced in RFC 7432, whereas VXLAN-based EVPN was outlined in RFC 8365.

VXLAN-based EVPN is the next-generation VPN. It is designed to replace previous generation VPNs like Virtual Private LAN Service (VPLS). Some of the major benefits include:

  • Scalability: The main benefit of a VXLAN over 802.1Q is scalability. The 12-bit VLAN Identifier (VID) allows only 4,094 VLANs. However, VXLAN supports a 24-bit VNI construct that enables 16 million virtual networks.
  • Provisioning: The second benefit of overlay networks is that they allow rapid provisioning of virtual networks. As you configure only the concerned edges instead of the entire network, the core network is unaware of these virtual networks, and does not need to be configured.
  • Cost-effective: Another major advantage is that it allows for the reuse of the existing infrastructure so only the edges participate in supporting the semantics of virtual networks. So, if virtual network software needs to be updated, only the edges need to be updated.

VXLAN encapsulation adds approximately 50 bytes of overhead to each Ethernet frame. As a result, all switches in the underlay (physical) network must be configured to support an MTU of at least 1,600 bytes on all participating interfaces. VTEPs handle VXLAN encapsulation and de-encapsulation. In this implementation, the leaf switches are the VTEPs.

VXLAN BGP EVPN

Ethernet VPN-Virtual Extensible LAN (EVPN-VXLAN) provides large enterprises with a common framework for managing their edge and core data center networks. An EVPN-VXLAN architecture supports efficient Layer 2 and Layer 3 network connectivity with scale, simplicity, and agility, while also reducing Operational Expense costs.

EVPN uses BGP to exchange endpoint MAC and IP address information between VTEPs. When a host sends a packet to an endpoint, the switch looks up the routing table for a match. If it finds a match that exists behind another VTEP, the packet is encapsulated with VXLAN and UDP headers and encapsulated again with outer IP and Ethernet headers for transport over the leaf-spine network. When the packet arrives at the destination VTEP, the outer Ethernet, IP, UDP, and VXLAN headers are removed, and the switch sends the original packet to the endpoint.

Figure 7.   VXLAN BGP EVPN deploy topology

Key VxLAN features are:

  • Support for multi-tenancy
  • Layer 2 and Layer 3 integrated routing and bridging (IRB)
  • Multi-homing
  • Minimization of ARP propagation 
  • MAC mobility (simplified VM migration)  

The primary use cases for EVPN are:

  • Greatly expanding the potential number of Layer 2 domains 
  • Service provider multi-tenant hosting 
  • Data center interconnect (DCI)

Integrated Routing and Bridging (IRB)

Every VTEP is the first-hop router for its locally attached network, allowing the routing operation to occur as close to the end host as possible. There are two forwarding models for the IRB functionality:

  • Symmetric IRB, in which both the ingress and egress VTEPs route the packet to its final destination. The ingress VTEP routes the packet to the final --destination with the egress VTEP as the next hop. After decapsulating the packet, the egress VTEP performs a routing lookup to route it to the destination using the IP header. The VNI used to carry the packet between the ingress and egress VTEPs is an L3 or VRF VNI. This L3 VNI is different from the L2 VNI of the source or destination network.
  • Asymmetric IRB, in which the ingress and egress VTEPs behave differently. The ingress VTEP performs a routing lookup to decide to which egress VTEP the packet should be destined. The egress VTEP decapsulates the packet and then bridges the packet to its final destination using the MAC header. For the asymmetric model to operate, the ingress VTEP needs the information for all the tenant’s hosts to route and bridge the packet. The ingress VTEP must remember the destination network for routing functionality.

The following table compares shows the comparison between the IRBs.

Table 1.      Symmetric compared to asymmetric comparison

Symmetric IRB

Asymmetric IRB

Ingress VTEP needs only the MAC destination address of the corresponding egress VTEP router.

Ingress VTEP needs the MAC destination address of the end station to which the packet is destined.

Egress VTEP routes the packet after decapsulation

Egress VTEP only bridges after decapsulation

L3 VNI mapped to VRFs and many L2 VNIs mapped to a given VRF. Cannot be deployed in default VRF.

No L3 VNI concept, however VRFs can be created for each tenant. Can be in VRF as well.

Centralized routing is not possible with Symmetric IRB

Centralized routing is possible with Asymmetric IRB

PoE/PoE+

SONiC Edge Bundle provides the Power Over Ethernet (PoE), feature. PoE technology allows IP telephones, wireless LAN access points, web cameras, and many other appliances to receive power and data over the existing copper LAN cabling, without needing to modify the existing Ethernet infrastructure. PoE technology relies on the IEEE 802.3af, 802.3at (PoE+), and 802.3bt (PoE++) standards set by the IEEE and governs how networking equipment must operate to promote interoperability between PoE-capable devices. PoE-capable devices can be power sourcing equipment (PSE), powered devices (PDs), or both. The device that transmits power is the PSE, while the device that is powered is a PD. Most PSEs are either network switches or PoE injectors intended for use with non-PoE switches.

PoE standards define the different levels of power available from a PSE and the power delivered to a powered device. The following table defines the different PoE standards and power levels:

Table 2.      PoE categories

The SONiC PoE solution provides power management that supports power prioritization, power reservation, and power limiting. Administrators can assign a power priority to each PoE port. When the PoE switch has less power available and more ports are required to supply power, the higher priority ports are given preference to the lower priority ports. This means that lower priority ports are forcibly stopped to supply power to provide power to higher priority ports.

There are two types of power reservations, Static Power Management and Dynamic Power Management. The Static Power Management feature allows you to reserve a guaranteed amount of power for a PoE port. This feature is useful for powering up devices that draw variable amounts of power and provide them with an assured power range to operate within. In the Dynamic Power Management feature, power is not reserved for a given port at any point of time. The power that is available with the PoE switch is calculated by subtracting the instantaneous power drawn by all the ports from the maximum available power. Thus, more ports can deliver power simultaneously (This feature is useful to efficiently power up more devices when the available power with the PoE switch is limited).

Enterprise SONiC PoE implementation also provides a usage threshold feature to limit the PoE switch from reaching an overload condition. You can specify the limit as a percentage of the maximum power.

The Enterprise SONiC Edge POE use case extends data center fabric to remote locations such as a branch, a small-medium business, or a store using the same NOS and tools, for example as shown in the following Edge-Retail deployment model figure.

Figure 8.   Deploying PoE end points at Enterprise SONiC edge

802.1x Port Access Control protocol

The Port Access Control (PAC) feature provides validation of client and user credentials to prevent unauthorized access to a specific switch port. PAC uses the following methods for client authentication:

  • 802.1X─IEEE 802.1X-2004 is an IEEE Standard for PAC that provides an authentication mechanism to devices wanting to attach to a LAN. The standard defines Extensible Authentication Protocol Over LAN (EAPOL). The 802.1X standard describes an architectural framework in which authentication and consequent actions take place. It also establishes the requirements for a protocol between the authenticator and the supplicant, as well as between the authenticator and the authentication server.
  • MAB─An authenticator can use MAC Authentication Bypass (MAB) feature to authenticate simple devices like cameras or printers that do not support 802.1x. The MAB feature uses the device MAC address to authenticate the client.

These methods in turn use RADIUS for client credential verification and receive the authorization attributes like VLANs and ACLs for the authenticated clients.

The PAC process includes several components, the clients (supplicants), the port access entity authenticator (SONiC Switch), and the authentication server (RADIUS). The RADIUS server allows to control user profiles and access control.

When a client authenticates itself initially on the network, the SONiC Switch acts as the authenticator to the clients on the network and forwards the authentication request to the Radius server in the network.

If the authentication succeeds, and then the client is placed in an authorized state and the client can forward or receive traffic through the port.

RADIUS servers send a list of Authorization attributes like VLAN and ACLs to be applied to the client traffic. This allows the flexibility of differential treatment to clients.

The PAC Port modes include:

  • Auto Mode─This mode enforces authentication process on a port. The port state is unauthorized and blocked for traffic unless the client is authenticated.
  • Force UnAuth─In this mode, the port is configured into an unauthorized state and blocks any client traffic.
  • Force Auth─This mode is used to disable authentication on a port and all client traffic is allowed.

The Host modes determine the number of hosts that have access and the type of host, either voice or data to allow access. The PC Host modes include:

  • Single-Host─Only one data client can be authenticated on a port and the client is granted access to the port. Access is allowed only for this client.
  • Multi-Host─Only one data client can be authenticated on a port. When authentication succeeds, access is granted to all clients connected to the port.
  • Multi-Auth─One voice client and multiple data clients can be authenticated on a port and these clients are and then granted access.
  • Multi-Domain─One data client and one voice client can be authenticated on a port and these clients are then granted access.

Another part of Port Access Control is the special VLANs involved if the authentication method fails or times out. If the last authentication fails, the authentication manager can authorize the client to a special VLAN.

  • UnAuth VLAN─This VLAN is used to authorize clients that fail authentication due to invalid credentials. It is used for 802.1X aware clients only.
  • Guest VLAN─This VLAN is used to authorize 802.1X unaware clients.
  • Monitor Mode─If Monitor mode is enabled, PAC places the client in Monitor mode as applicable.
  • Open VLAN─Open Authentication capability allows PAC to allow client traffic events before it authenticates

Multiple Spanning Tree Protocol (MSTP)

MSTP is an extension to Rapid Spanning Tree Protocol (RSTP). MSTP further develops the usefulness of VLANs. MSTP configures a separate spanning tree for each VLAN group and blocks all but one possible alternate path within each spanning tree. MSTP allows formation of MST regions that can run multiple MST instances (MSTI). Multiple regions and other STP bridges are interconnected using one single common spanning tree (CST). Several VLANs can be mapped to a single spanning tree instance. Region plays a vital role to determine the VLAN to STP instance mapping. MST must be able to interact with 802.1q-based networks, because 802.1q is another IEEE standard. For 802.1q, a bridged network only implements CST. The IST instance is an RSTP instance that extends the CST inside the MST region.

Benefits

PVST and Rapid-PVST supported running a separate instance for each VLAN, which helped in load-balancing with multiple instances. However, this resulted in increased numbers of spanning-tree instances to be run, which meant a higher load on CPUs and scalability issues.

The Multiple spanning tree protocol is aimed at addressing these limitations by allowing multiple instances of spanning-tree with each instance having multiple VLANs assigned.

MSTP helps to reduce the overall number of spanning-tree instances that need to be run on a physical topology.

Multiple spanning-tree instances allow load-balancing of the traffic by each instance having different forwarding paths on a physical topology.

Enterprise SONiC Edge Deployment

Enterprise SONiC Edge Deployment

This section provides the details about the underlying infrastructure used for the configuration in this deployment guide. This deployment guide uses a Layer 3 leaf-spine topology for the network underlay. The underlay provides transit for the virtual network overlays. Dell Networking PowerSwitch N3248X-ON are used at Spine Layer, and Dell Networking PowerSwitch N3248PXE-ON are used at Leaf Layer.

In rack 1, two N3248PXE-ON switches are configured as Multi Chassis link aggregation groups (MC-LAG) Peers. An MC-LAG provides redundancy and load balancing between the two MC-LAG peers, multihoming support, and a loop-free Layer 2 network without running STP. As administrators add racks to the data center, two leaf switches configured for MC-LAG can be added to each new rack. Connections within racks from hosts to leaf switches are Layer 2, and each host is connected using an MC-LAG port channel.

Figure 9.   Enterprise Edge Deployment topology

eBGP is used as control plane between Leaf and Spine, an autonomous system number (ASN) is assigned to each switch. Valid private, 2-byte ASNs range from 64512 to 65534. ASNs should follow a logical pattern for ease of administration and allow for growth as additional leaf and spine switches are added. In this example, 65000 ASN represents the Spine Switches and ASN 65001-65027 represents the leaf switches.

Establishing a logical, scalable IP address scheme is important before deploying a leaf-spine topology. Loopback addresses may be used as router IDs when configuring routing protocols. As with ASNs, loopback addresses should follow a logical pattern that will make it easier for administrators to manage the network and allow for growth. In our given example, all the loopback addresses used are part of the 10.0.0.0/8 address space with each address using a 32-bit mask. In this example, the third octet represents the layer, “1” for spine and “2” for leaf. The fourth octet is the counter for the appropriate layer. For example, 10.0.1.1/32 is the first spine switch in the topology while 10.0.2.2/32 is the second leaf switch.

To exchange IP Prefixes, we used Unnumbered BGP. The Unnumbered BGP standard defined in the RFC 5549 no longer requires an IPv4 prefix to be advertised along with an IPv4 next hop. This means BGP peers can exchange IPv4 prefixes without having to configure an IPv4 address. The Unnumbered BGP feature works by discovering the peer routers that are attached to point-to-point links by parsing the Router-advertisements (RA).

VXLAN BGP EVPN overlay

In this deployment example, three VNIs are used: 600, 400, and 410. All VNIs are configured on three leaf switches. VNI 600 is used to carry Type-5 routes whereas VNI 1400 and VNI 500 are used to carry Type-2 routes. Because these VNIs have anycast gateways, VMs on those VNIs which are routing to other networks can use the same gateway information while behind different leaf pairs. When those VMs route, their local leaf switches will always be doing the routing. This enables VMs to migrate from one leaf pair to another without the need to change the network configuration. It also eliminates hair-pinning and improves link utilization since routing is performed closer to the source.

Switch preparation

The following table shows the hardware components that are used for the Enterprise SONiC edge bundle deployment:

Table 3.      Hardware used in the deployment

Product name or model number

Notes or placement of products

N3248PXE-ON

 

1 / 2.5 / 5 GbE switches as leaf switches

N3248X-ON

10 GbE switches as spines

N3248TE-ON

1 GbE switches for OOB management traffic

VoIP phone

Camera with PoE port

WIFI controller with PoE

Linux /Windows server

Provides end-point attachment to the network.

Download firmware and OS

Go to Support for PowerSwitch N3200-ON Series | Drivers & Downloads to download Device Firmware and ONIE software for the N3200 series switches.

Go to Dell Digital Locker (DDL), log in with your Dell registered credentials, and select the latest Enterprise SONiC edge bundle entry:

Figure 10.    Enterprise SONiC eSupport details

Installing SONiC

The deployment in this guide uses the switch serial port connected directly to a PC or laptop. The SONiC OS software was downloaded from the Dell Digital Locker and the firmware and ONIE files were downloaded from the Dell support site. The downloaded files are copied to a USB flash device and connected to the switch. The default serial port setting is 115200 baud, 8 data bits, 1 stop bit, no parity and xon/xoff flow control.

Update ONIE

To ensure the switch is running the current version of the ONIE NOS boot loader:

  1. Select ONIE option Rescue from the ONIE boot menu.
  2. Mount USB device: mount /dev/sdb1 /mnt/usb
  3. Change the directory to the mount point: cd /mnt/usb
  4. Update ONIE with the command:

onie-self-update onie-updater-x86_64-dellemc_n2200_n3200_c3338-r0.3.45.1.9-6

Switch will reboot on completion of the update.

Update firmware

  1. Select ONIE: Rescue from the ONIE boot menu.
  1. Mount USB device: mount /dev/sdb1 /mnt/usb
  2. Change the directory to the mount point: cd /mnt/usb
  3. Update firmware with the command:

onie-self-update onie-firmware-x86_64-dellemc_n2200_n3200_c3338-r0.3.45.5.1-26.bin

Remove existing OS

When you reboot the switches, a startup menu is displayed. Use the arrow keys on the keyboard to select the ONIE: Uninstall OS option, as shown in the following figure:

Install NOS

Select ONIE: Install OS from the ONIE boot menu.

  1. Mount USB device: mount /dev/sdb1 /mnt/usb
  2. Change the directory to the mount point: cd /mnt/usb
  3. Install SONiC with the command:

onie-nos-install Enterprise_SONiC_OS_4.0.1_Edge_Standard.bin

Initial Login

SONiC is ready to deploy. The default admin password is YourPaSsWoRd, and it must be changed on first boot.

sonic login: admin

Password:YourPaSsWoRd

You are required to change your password immediately (administrator enforced)

Changing password for admin.

Current password: YourPaSsWoRd

New password:

Retype new password:

Last login: Wed Jun 22 16:08:55 UTC 2022 on ttyS0

Linux sonic 4.19.0-9-2-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64

You are on

  ____   ___  _   _ _  ____

 / ___| / _ \| \ | (_)/ ___|

 \___ \| | | |  \| | | |

  ___) | |_| | |\  | | |___

 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.

All access and/or use are subject to monitoring.

Help:    http://azure.github.io/SONiC/

admin@sonic:~$

Activate command console

All commands in this guide will use the Management Framework command line interface.

admin@sonic:~$ sonic-cli

sonic#

Factory default configuration

The switch configuration commands in the chapters that follow begin with the leaf switches at their factory default settings. Dell PowerSwitches running SONiC can be reset to their default configuration as follows:

sonic# write erase

Existing switch configuration files except management interface configuration will be removed, continue? [y/N]:y

Configuration erase command will take effect on the next reboot.

sonic# reboot

Check switch OS version 

Dell PowerSwitches must be running SONiC version 4.0 or later for this deployment. Run the show version command to check the OS version:

sonic# show version

Software Version  : '4.0.1-Campus'

Product           : Enterprise SONiC Distribution by Dell Technologies

Distribution      : '10.12'

Kernel            : '4.19.0-9-2-amd64'

Config DB Version : version_4_0_1

Build Commit      : 'b81f07c4a'

Build Date        : Fri May 27 07:53:36 UTC 2022

Built By          : sonicbld@sonic-lvn-csg-003

Platform          : x86_64-dellemc_n3248pxe_c3338-r0

HwSKU             : DELLEMC-N3248PXE

ASIC              : broadcom

Hardware Version  : A01

Serial Number     : TW0296F9DNT0024C0253

Uptime            : 20:19:05 up 6 days, 4:05, 1 user, load average: 1.74, 1.67, 1.70

Mfg               : Dell EMC

Management network

The OOB management network is isolated from the leaf-spine production network. It is the same for Layer 2 and Layer 3 leaf-spine topologies. N3248-TE installed in each rack provides 1 GbE connectivity to the management network.

The RJ-45 OOB management ports on each spine and leaf switch are connected to the N3248-TE switches.

PowerEdge server iDRACs and Chassis Management Controllers (CMCs) are also connected for server administration. A management network is not a requirement to configure or use a leaf-spine network, but is recommended to efficiently manage servers, switches, and storage devices.

Figure 11.    Optional management network topology

Network configuration steps

This section presents the following topics:

Topics:

  • Spine configuration steps
  • Leaf1 and Leaf2 configuration steps
  • Leaf12 configuration steps
  • Verifying the environment

Spine configuration steps

Refer to the spine switches in the deployment topology. After login to the switch, the first step is to run the sonic-cli in the Linux mode to get access into the Management CLI command mode (MF-CLI) as shown below:

Spine1

Spine2

sonic-cli

configure terminal

interface-naming standard

sonic-cli

configure terminal

interface-naming standard

Spine1

Spine2

hostname SPINE1

end

exit

hostname SPINE2

end

exit

  • Re-enter the MF-CLI and configuration mode.
  • Assign a loopback interface with a unique router ID for each spine.
  • Enable IPv6 on the spine downlinks to support unnumbered BGP point-to-point links and enable the interfaces.

Spine1

Spine2

sonic-cli

 

configure terminal

 

interface loopback 0

description router-id

ip address 10.0.1.1/32

exit

 

interface Eth 1/37

description "Down Link to Leaf1"

ipv6 enable

no shutdown

 

interface Eth 1/38

description "Down Link to Leaf2"

ipv6 enable

no shutdown

 

interface Eth 1/48

description "Down Link to Leaf12"

ipv6 enable

no shutdown

 

exit

sonic-cli

 

configure terminal

 

interface loopback 0

description router-id

ip address 10.0.1.2/32

exit

 

interface Eth 1/37

description "Down Link to Leaf1"

ipv6 enable

no shutdown

 

interface Eth 1/38

 description "Down Link to Leaf2"

 ipv6 enable

 no shutdown

 

interface Eth 1/48

description "Down Link to Leaf12"

ipv6 enable

no shutdown

 

exit

  • Configure the BGP router with ECMP enabled.
  • Add the IPv4 unicast address-family to advertise the router-ID and paths for two leafs.
  • Configure the BGP leaf peer-group. Set timers and enable unnumbered BGP and BFD.
  • Activate IPv4 unicast for the peer group.
  • Assign the leaf neighbor interfaces to the peer-group.
  • Save the configuration.

Spine1

Spine2

router bgp 65000

router-id 10.0.1.1

bestpath as-path multipath-relax

 

address-family ipv4 unicast

redistribute connected

maximum-paths 2

exit

 

peer-group LEAF

advertisement-interval 5  

timers 3 9

remote-as external  

capability extended-nexthop  

bfd

address-family ipv4 unicast

activate

exit

address-family l2vpn evpn

activate

exit

 

exit                        

 

neighbor interface Eth 1/37

peer-group LEAF

exit

neighbor interface Eth 1/38

peer-group LEAF

exit

neighbor interface Eth 1/48

peer-group LEAF

exit

exit

end

 

write memory

router bgp 65000

router-id 10.0.1.2

bestpath as-path multipath-relax

 

address-family ipv4 unicast

redistribute connected

maximum-paths 2

exit

 

peer-group LEAF

advertisement-interval 5  

timers 3 9

remote-as external  

capability extended-nexthop  

bfd

address-family ipv4 unicast

activate

exit

address-family l2vpn evpn

activate

exit

 

exit                        

 

neighbor interface Eth 1/37

peer-group LEAF

exit

neighbor interface Eth 1/38

peer-group LEAF

exit

neighbor interface Eth 1/48

peer-group LEAF

exit

exit

end

 

write memory

 

Leaf1 and Leaf2 configuration steps

Leaf1 and Leaf2 are configured as an MCLAG pair. Refer to the deployment topology above.

  • Enter Management Framework CLI (MF-CLI) and then configuration mode.
  • Change the interface naming mode to Standard and add a hostname.
  • Exit back to the Linux shell to activate the changes.

Leaf1

Leaf2

sonic-cli

configure terminal

interface-naming standard

hostname LEAF1

end

exit

sonic-cli

configure terminal

interface-naming standard

hostname LEAF2

end

exit

  • Re-enter the MF-CLI and configuration mode.
  • Assign a loopback interface with a unique router ID on each leaf.
  • Then enable IPv6 on spine uplinks to support unnumbered BGP point-to-point links and enable the interfaces.

Leaf1 

Leaf2

sonic-cli

 

configure terminal

interface loopback 0 

description router-id 

ip address 10.0.2.1/32

exit

 

interface Eth 1/37 

description "Link to SPINE1" 

ipv6 enable

no shutdown

 

interface Eth 1/38 

description "Link to SPINE2" 

ipv6 enable

no shutdown 

exit

sonic-cli

 

configure terminal

interface loopback 0 

description router-id

ip address 10.0.2.2/32 

exit

 

interface Eth 1/37 

description "Link to SPINE1" 

ipv6 enable

no shutdown

 

interface Eth 1/38 

description "Link to SPINE2" 

ipv6 enable

no shutdown 

exit

  • Assign a VRF for each tenant. This deployment only has one tenant but will support multiple tenants with additional VRFs.
  • Configure VLANs 50 and 140 for the hosts, bind to the tenant's VRF and assign the same anycast-address to each host VLAN.
  • Assign a dedicated VLAN (Vlan60) for a L3 VNI and bind it to the tenant's VRF.

Leaf1

Leaf2

ip vrf Vrf-tenant1

interface Vlan 50

ip vrf forwarding Vrf-tenant1

ip anycast-address 192.168.50.254/24

neigh-suppress

exit

 

interface Vlan 140

ip vrf forwarding Vrf-tenant1 

ip anycast-address 192.168.140.254/24 

neigh-suppress 

exit

 

interface Vlan 60

ip vrf forwarding Vrf-tenant1

exit

 

 

 

ip vrf Vrf-tenant1

interface Vlan 50

ip vrf forwarding Vrf-tenant1

ip anycast-address 192.168.50.254/24

neigh-suppress

exit

 

interface Vlan 140

ip vrf forwarding Vrf-tenant1

ip anycast-address 192.168.140.254/24

neigh-suppress

exit

 

interface Vlan 60

ip vrf forwarding Vrf-tenant1

exit

 

  • Configure the MCLAG peer-link and port channel members.
  • Configure all VLANs on the MCLAG's peer-link port channel.

Leaf1

Leaf2

interface Portchannel 100

description MCLAG-Peer-Link

switchport trunk allowed vlan add 50,60,140 

exit 

 

interface range Eth 1/49-1/50

description MCLAG-Peer-Link

channel-group 100

no shutdown

 

exit

interface Portchannel 100

description MCLAG-Peer-Link

switchport trunk allowed vlan add 50,60,140 

exit

 

interface range Eth 1/49-1/50

description MCLAG-Peer-Link

channel-group 100

no shutdown

exit

 

Configure the MCLAG domain.

The loopback IP address used for the router-id is also used as the MCLAG source and peer IP address.

  • Assign the host's port channel interfaces and assign to the MCLAG domain.

Leaf1

Leaf2

mclag domain 1 

source-ip 10.0.2.1

peer-ip 10.0.2.2

peer-link PortChannel 100 

delay-restore 90

 exit

 

interface PortChannel 202

description "Host1 PortChannel"

switchport trunk allowed vlan add 50,140

mclag 1

exit

 

interface Eth 1/3

description Host

channel-group 202

no shutdown

exit

mclag domain 1 

source-ip 10.0.2.2

peer-ip 10.0.2.1

peer-link PortChannel 100 

delay-restore 90

exit

 

interface PortChannel 202

description "Host1 PortChannel"

switchport trunk allowed vlan add 50,140

mclag 1

exit

 

interface Eth 1/3

description Host

channel-group 202

no shutdown

exit

  • Enable static anycast-address and assign a unique MAC to be used across all leaf switches.
  • Create a loopback interface for the VTEP IP address. This address must be the same for each MCLAG peer.
  • Create a VXLAN interface and assign the same VTEP source IP address to each peer.
  • Assign a unique primary-ip to optimize routing for orphan ports and active-standby hosts. The router-id can be used for this purpose.
  • Map the L2 VNI to the host VLANs that are stretched across the fabric.
  • Create an L3 VNI by mapping the dedicated VLAN (Vlan60) to the non-default VRF.

Leaf1

Leaf2

ip anycast-address enable

ip anycast-mac-address 00:00:00:00:01:02

 

interface Loopback 1

description "Logical VTEP"

ip address 10.10.10.1/32

exit

 

interface vxlan vtep1

source-ip 10.10.10.1

primary-ip 10.0.2.1

map vni 1400 vlan 140

map vni 500 vlan 50

map vni 600 vlan 60

map vni 600 vrf Vrf-tenant1

exit

ip anycast-address enable

ip anycast-mac-address 00:00:00:00:01:02

 

interface Loopback 1

description "Logical VTEP"

ip address 10.10.10.1/32

exit

 

interface vxlan vtep1

source-ip 10.10.10.1

primary-ip 10.0.2.2

map vni 1400 vlan 140

map vni 500 vlan 50

map vni 600 vlan 60

map vni 600 vrf Vrf-tenant1

exit

  • Configure the BGP router with ECMP enabled.
  • Configure the underlay's address-family and redistribute the connected networks.
  • Add VNI advertisements to the EVPN address family and assign the MCLAG peer's primary-ip.

Leaf1

Leaf2

router bgp 65001

router-id 10.0.2.1

bestpath as-path multipath-relax

address-family ipv4 unicast   redistribute connected

maximum-paths 2

exit

 

address-family l2vpn evpn

advertise-all-vni

advertise-pip peer-ip 10.0.2.2

exit

 

router bgp 65001

router-id 10.0.2.2

bestpath as-path multipath-relax

address-family ipv4 unicast

redistribute connected

maximum-paths 2

exit

 

address-family l2vpn evpn

advertise-all-vni

advertise-pip peer-ip 10.0.2.1

exit

 

  • Configure the BGP spine peer-group.
  • Set timers and enable unnumbered BGP and BFD on the peer-group.
  • Activate both IPv4 unicast and EVPN address families for the spine peer group.
  • Set allowas-in to support MCLAG peer’s ASN to be received.

Leaf1

Leaf2

peer-group SPINE

advertisement-interval 5

timers 3 9

remote-as external 

capability extended-nexthop  

bfd

address-family ipv4 unicast

activate

allowas-in 1

exit

address-family l2vpn evpn

activate

exit

exit   

peer-group SPINE

advertisement-interval 5

timers 3 9

remote-as external 

capability extended-nexthop  

bfd

address-family ipv4 unicast

activate

allowas-in 1

exit

address-family l2vpn evpn

activate

exit

exit   

  • Assign the spine neighbor interfaces to the peer-group.
  • Create the BGP router for each tenant’s VRF.
  • Save the configuration.

Leaf1

Leaf2

neighbor interface Eth 1/37

peer-group SPINE

exit

 

neighbor interface Eth 1/38

peer-group SPINE

exit

exit

 

router bgp 65001 vrf Vrf-tenant1

address-family ipv4 unicast

redistribute connected

exit

address-family l2vpn evpn

advertise ipv4 unicast

exit

exit

end

write memory

  

neighbor interface Eth 1/37

peer-group SPINE

exit

 

neighbor interface Eth 1/38

peer-group SPINE

exit

exit

 

router bgp 65001 vrf Vrf-tenant1

address-family ipv4 unicast

redistribute connected

exit

address-family l2vpn evpn

advertise ipv4 unicast

exit

exit

end

write memory

 

Leaf12 configuration steps

Enter Management Framework CLI (MF-CLI) and then configuration mode.

Change the interface naming mode to Standard, add hostname, save configuration, and exit back to the Linux shell to activate the changes.

Leaf12

 

!

sonic-cli

configure terminal

interface-naming standard

hostname LEAF12

end

write memory

exit

!

  • Re-enter the MF-CLI and configuration mode.
  • Assign a unique router ID on each leaf.
  • Then enable IPv6 on spine uplinks to support unnumbered BGP point-to-point links and enable the interfaces.

Leaf12

!

sonic-cli

configure terminal

interface loopback 0

description router-id

ip address 10.0.2.25/32

Exit

 

interface Eth 1/47 

description "Link to SPINE1"

ipv6 enable 

no shutdown

 

interface Eth 1/48

description "Link to SPINE2"

ipv6 enable

no shutdown

exit

!

  • Assign a VRF for each tenant. This deployment only has one tenant but will support multiple tenants with additional VRFs.
  • Configure VLANs 80 and 140 for the hosts, bind to the tenant’s VRF and assign the same anycast-address to each host VLAN.
  • Assign a dedicated VLAN (Vlan60) for a L3 VNI and bind it to the tenant’s VRF.

Leaf12

ip vrf Vrf-tenant1

 

interface Vlan 80

ip vrf forwarding Vrf-tenant1

ip anycast-address 192.168.80.254/24

neigh-suppress

exit

 

interface Vlan 140

ip vrf forwarding Vrf-tenant1

ip anycast-address 192.168.140.254/24

neigh-suppress

exit

 

interface Vlan 60

ip vrf forwarding Vrf-tenant1

exit

  • Enable static anycast-address and assign a unique MAC to be used across all leaf switches.
  • Create a loopback interface for the VTEP IP address. This address must be the same for each MCLAG peer.
  • Create a VXLAN interface and assign the same VTEP source IP address to each peer.
  • Assign a unique primary-ip to optimize routing for orphan ports and active-standby hosts. The router-id can be used for this purpose.
  • Map the L2 VNI to the host VLANs that are stretched across the fabric.
  • Create a L3 VNI by mapping the dedicated VLAN (Vlan60) to the non-default VRF. The Network Virtualization Overlay (NVO) is automatically assigned to the VXLAN interface.

Leaf12

 ip anycast-address enable

ip anycast-mac-address 00:00:00:00:01:02

 

interface Loopback 1 

description "Logical VTEP" 

ip address 10.10.10.25/32

Exit

 

interface vxlan vtep25 

source-ip 10.10.10.25 

primary-ip 10.0.2.25 

map vni 1400 vlan 140 

map vni 500 vlan 50

map vni 600 vlan 60 

map vni 600 vrf Vrf-tenant1 

exit

  • Configure the BGP router with ECMP enabled.
  • Configure the underlay’s address-family and redistribute the connected networks.
  • Add VNI advertisements to the EVPN address family and assign the MCLAG peer’s primary-IP as router-id

Leaf12

 router bgp 65025

 router-id 10.0.2.25

bestpath as-path multipath-relax

address-family ipv4 unicast

redistribute connected

maximum-paths 2

exit

 

  • Configure the BGP spine peer-group.
  • Set timers and enable unnumbered BGP and BFD on the peer-group.
  • Activate both IPv4 unicast and EVPN address families for the spine peer group.

Leaf12

peer-group SPINE 

advertisement-interval 5  

timers 3 9  

remote-as external  

capability extended-nexthop

bfd  

address-family ipv4 unicast 

activate  

exit 

exit

 

  • Assign the spine neighbor interfaces to the peer-group.
  • Create the BGP router for each tenant’s VRF.
  • Save the configuration.

Leaf12

neighbor interface Eth 1/47

peer-group SPINE

exit

 

neighbor interface Eth 1/48

peer-group SPINE 

exit 

exit

 

router bgp 65025 vrf Vrf-tenant1

address-family ipv4 unicast

redistribute connected 

exit

address-family l2vpn evpn

advertise ipv4 unicast 

exit 

exit

end

write memory

!

Leaf12 hosts 1G PoE-enabled camera equipment connected to Eth1/24. The following lines would enable the PoE on the switch and provide power to the connected camera. In general, we set the PoE power management to dynamic and the threshold to 90% of the maximum power. At the interface level based on the type of end device connected, we enable PoE. This would take care of providing power. But there are other parameters if needed that can be set to enable more specific needs.

The following are the steps to enable PoE for an end device.

  1. Global level:
  • Set the PoE power management reservation to dynamic
  • Set the PoE power usage threshold to 90%
  1. Interface level:
  • Enable PoE on the interface. PoE is disabled by default.
  • Set the PoE priority level
  • Set the interface to advertise power management lldp tlv

Leaf12

  poe power management dynamic

  poe usage-threshold 90

 

 interface Eth 1/24

  description “PoE Camera on this port”

  mtu 9100

  speed 1000

   no poe disable

   poe priority high

   lldp med-tlv-select power-management

   no shutdown 

exit

 write memory

 

The following configuration would enable DOT1X protocol to authenticate and authorize the connected end device attached to the switch port. A Windows server on port Eth1/22 will be authenticated using DOT1x and a PoE camera on eth1/24 port with MAB. The authentication and authorization when successful would enable traffic flow for the end device. Cisco ISE is the most common authentication server used. FreeRadius and Aruba Clearpass are the other two validated by Enterprise SONiC Edge.

The following are the steps involved:

  1. Global Config:
  • Enable 802.1x authentication on the switch.
  1. Interface level:
  • Configure a VLAN as a guest VLAN on the interface.
  • Configure a VLAN as the unauthenticated VLAN on the interface.
  • Set the maximum number of clients supported on the interface.
  • Enable periodic reauthentication of the supplicant for the specified interface.
  • Set the authentication mode to use on the specified interface.
  • Configure the host mode of a port.
  • Configure the reauthentication time period.
  • Set the order of the authentication methods to use.
  • Set the priority for the authentication methods to be used.
  • Enable dot1x on port as pae authenticator.

Leaf12

dot1x system-auth-control

 

interface Vlan 30

 description “dot1x guest vlan”

  exit

 

interface Vlan 31

 description “unauthenticated vlan”

  exit

 

 interface Eth 1/22

   Description “dot1x supplicant on windows 10 box”

   switchport access vlan 50

   authentication max-users 3

   authentication host-mode multi-auth

   authentication port-control auto

   authentication event no-response action authorize vlan 31

   authentication event fail action authorize vlan 30

   authentication order dot1x mab

   authentication priority dot1x mab

   authentication periodic

   dot1x pae authenticator

   mab

   spanning-tree port type edge

 

interface Eth 1/24

   Description “PoE camera”

   switchport access vlan 50

   authentication max-users 1

   authentication host-mode single-host

   authentication port-control auto

   authentication event no-response action authorize vlan 31

   authentication event fail action authorize vlan 30

   authentication order mab

   authentication priority mab

   authentication periodic

   mab 

   spanning-tree port type edge

 

exit

 write memory

 

The radius server configuration for PAC is shown below.

The host specified is the Cisco ISE domain IP address. Cisco ISE is a tool used for authenticating and authorizing end points connecting to leaf Ethernet ports. The detailed information about how this tool is integrated with the SONiC fabric is out of scope in this current version of the document. It will be covered in the next update to this document.

The following shows the switch side configuration of Cisco ISE:

Leaf12

aaa authentication login default group radius local

aaa authentication failthrough enable

 

radius-server timeout 5

radius-server auth-type pap

radius-server host ise.dnse.com auth-port 1812 key dell123 priority 64 source-interface Management 0

 

write memory

 

Verifying the deployment

Verifying the deployment

Validate the leaf switch configuration

Show interface status

Show vlan

Show lldp table

Show mclag brief

Show bgp ipv4 unicast summary

Show ip route

Show vxlan interface

Show vxlan remote mac

Show vxlan remote vni

Show vxlan tunnel

Show vxlan vlanvnimap

Show bgp l2vpn evpn summary

PoE enabled camera is connected on Leaf12 on port Eth1/24.

Show poe status

Show poe port configuration

Show poe port information

DOT1X information

There is windows server connected on port Eth1/23 that is enabled with dot1x and there is VoIP phone from Cisco connected on eth1/22 for dot1x authentication.

Show dot1x authentication

Show authentication on interface

Show authentication clients on interface

Show authentical client history

Show mab authentication

Show authentication clients all

Show interface status

Show lldp table

Show bgp ipv4 unicast summary

Show ip route

Show mac address-table

Show ip route vrf Vrf1

Show ip vrf

Show ipv6 interfaces

Show ip interfaces

Show evpn

Show evpn arp-cache vni all

Show evpn mac vni all

Show evpn vni detail

Show bgp l2vpn evpn route type macip

Ping end hosts for reachability test

HOST1 (192.168.50.10) to RetailEndpoint1 (192.168.50.20)

Wireshark packet dump: showing VNI 500 [mapped to vlan 50], source and destination endpoint IP address and outer packet source and destination vteps IP addresses

RetailEndpoint1 (192.168.50.20) to HOST1

RetailEndpoint (192.168.140.20) to HOST1 (192.168.50.10)

Technical Resources

Technical resources

Resources and references  

Support.Dell.com

Dell Support Site – Manuals  

DellTechCenter.com

Dell IT Community for sharing knowledge, best practices, and information about Dell products and installations  

Dell Networking Hardware and Devices

Additional information about all Dell networking products  

Support and feedback

Contacting Technical Support   

Support Contact Information Web: http://Support.Dell.com/  

Telephone: USA: 1-800-945-3355   

Feedback for this document   

We encourage readers of this publication to provide feedback on the quality and usefulness of this deployment guide by sending an email to Dell_Networking_Solutions@Dell.com.

About Dell Technologies  

Dell Technologies is a worldwide leader in data center and campus solutions, which includes the manufacturing and distribution of servers, network switches, storage devices, personal computers, and related hardware and software. For more information about these and other products, browse the Dell website at http://www.dell.com. 

Full Switch Configuration

Full switch configuration

Full switch configuration files are included

Note: The GNS3 topology uses Enterprise SONiC vAppliance(s). The RetailEndPoints are Sonic vAppliances to test end dev connectivity.

The end devices connected on leaf12 ports Eth1/22 and Eth1/24 are not configured in this GNS3 setup but was tested separately with a N3248PXE switch running edge image for PoE and Dot1x features.

LEAF1

hostname LEAF1

ip anycast-mac-address 00:00:00:01:02:03

ip anycast-address enable

!

mclag gateway-mac 00:11:00:11:00:11

!

ip vrf Vrf1

!

interface Vlan50

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.50.254/24

!

interface Vlan60

 no autostate

 ip vrf forwarding Vrf1

!

interface Vlan140

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.140.254/24

!

interface Loopback 0

 description router-id

 ip address 10.0.2.1/32

!

interface Loopback 1

 description lvtep

 ip address 10.10.10.1/32

!

interface PortChannel 100

 description MCLAG_Peerlink

 switchport trunk allowed Vlan 50,60,140

 no shutdown

!

mclag domain 1

 source-ip 10.0.2.1

 peer-ip 10.0.2.2

 peer-link PortChannel100

 mclag-system-mac 00:00:a1:a1:a1:a1

 keepalive-interval 1

 session-timeout 30

 delay-restore 90

!

interface PortChannel 202 mode on

 switchport trunk allowed Vlan 50,140

 no shutdown

 mclag 1

 

interface Eth1/1

description SPINE1

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

interface Eth1/3

 description host

 mtu 9100

 speed 25000

 channel-group 202

 no shutdown

 

interface Eth1/4

description SPINE2

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

interface Eth1/7

description MCLAG_MBR

 mtu 9100

 speed 25000

 channel-group 100

 no shutdown

!

interface Eth1/8

description MCLAG_MBR

 mtu 9100

 speed 25000

 channel-group 100

 no shutdown

 

router bgp 65001 vrf Vrf1

 router-id 10.0.2.1

 log-neighbor-changes

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise ipv4 unicast

!

router bgp 65001

 router-id 10.0.2.1

 log-neighbor-changes

 bestpath as-path multipath-relax

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise-all-vni

 !

 peer-group SPINE

  remote-as external

  timers connect 30

  advertisement-interval 0

  capability extended-nexthop

  !

  address-family ipv4 unicast

   activate

   allowas-in 2

   send-community both

  !

  address-family l2vpn evpn

   activate

 !

 neighbor interface Eth1/1

  peer-group SPINE

 

 !

 neighbor interface Eth1/4

  peer-group SPINE

!

interface vxlan vtep1

 source-ip 10.10.10.1

 map vni 1400 vlan 140

 map vni 500 vlan 50

 map vni 600 vlan 60

 map vni 600 vrf Vrf1

LEAF2

hostname LEAF2

ip anycast-mac-address 00:00:00:01:02:03

ip anycast-address enable

!

mclag gateway-mac 00:11:00:11:00:11

! 

ip vrf Vrf1

!

interface Vlan50

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.50.254/24

!

interface Vlan60

 no autostate

 ip vrf forwarding Vrf1

!

interface Vlan140

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.140.254/24

!

interface Loopback 0

 description router-id

 ip address 10.0.2.2/32

!

interface Loopback 1

 description lvtep

 ip address 10.10.10.1/32

!

interface PortChannel 100

 description MCLAG_Peerlink

 switchport trunk allowed Vlan 50,60,140

 no shutdown

!

mclag domain 1

 source-ip 10.0.2.2

 peer-ip 10.0.2.1

 peer-link PortChannel100

 mclag-system-mac 00:00:a1:a1:a1:a1

 keepalive-interval 1

 session-timeout 30

 delay-restore 90

 

interface PortChannel 202 mode on

 switchport trunk allowed Vlan 50,140

 no shutdown

 mclag 1

 

interface Eth1/2

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

interface Eth1/3

 description host

 mtu 9100

 speed 25000

 channel-group 202

 no shutdown

 

interface Eth1/5

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

interface Eth1/7

 mtu 9100

 speed 25000

 channel-group 100

 no shutdown

!

interface Eth1/8

 mtu 9100

 speed 25000

 channel-group 100

 no shutdown

!

 

router bgp 65001 vrf Vrf1

 router-id 10.0.2.2

 log-neighbor-changes

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise ipv4 unicast

!

router bgp 65001

 router-id 10.0.2.2

 log-neighbor-changes

 bestpath as-path multipath-relax

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise-all-vni

 !

 peer-group SPINE

  remote-as external

  timers connect 30

  advertisement-interval 0

  capability extended-nexthop

  !

  address-family ipv4 unicast

   activate

   allowas-in 2

   send-community both

  !

  address-family l2vpn evpn

   activate

 !

 neighbor interface Eth1/2

  peer-group SPINE

 

 !

 neighbor interface Eth1/5

  peer-group SPINE

!

interface vxlan vtep2

 source-ip 10.10.10.1

 map vni 1400 vlan 140

 map vni 500 vlan 50

 map vni 600 vlan 60

 map vni 600 vrf Vrf1

LEAF12

ip anycast-mac-address 00:00:00:01:02:03

ip anycast-address enable

!

ip vrf Vrf1

!

interface Vlan50

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.50.254/24

!

interface Vlan60

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

!

interface Vlan140

 neigh-suppress

 no autostate

 ip vrf forwarding Vrf1

 ip anycast-address 192.168.140.254/24

!

interface Loopback 0

 description router-id

 ip address 10.0.2.12/32

!

interface Loopback 1

 description lvtep

 ip address 10.10.10.12/32

 

interface Eth1/1

 mtu 9100

 speed 25000

 no shutdown

 switchport trunk allowed Vlan 140

 

 interface Eth1/2

 mtu 9100

 speed 25000

 no shutdown

 switchport trunk allowed Vlan 50

!

interface Eth1/3

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

 

router bgp 650012 vrf Vrf1

 log-neighbor-changes

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 1

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise ipv4 unicast

!

router bgp 650012

 router-id 10.0.2.12

 log-neighbor-changes

 bestpath as-path multipath-relax

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 address-family l2vpn evpn

  advertise-all-vni

 !

 peer-group SPINE

  remote-as external

  timers connect 30

  advertisement-interval 0

  capability extended-nexthop

  !

  address-family ipv4 unicast

   activate

   allowas-in 2

   send-community both

  !

  address-family l2vpn evpn

   activate

 !

 neighbor interface Eth1/3

  peer-group SPINE

 !

 neighbor interface Eth1/6

  peer-group SPINE

!

interface vxlan vtep12

 source-ip 10.10.10.12

 primary-ip 10.0.2.12

 map vni 1400 vlan 140

 map vni 500 vlan 50

 map vni 600 vlan 60

 map vni 600 vrf Vrf1

SPINE1

interface Loopback 0

 description router-id

 ip address 10.0.1.1/32

!

interface Eth1/1

description LEAF1

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

!

interface Eth1/2

description LEAF2

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

!

interface Eth1/3

description LEAF12

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

 

router bgp 65000

 router-id 10.0.1.1

 log-neighbor-changes

 bestpath as-path multipath-relax

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 2

  maximum-paths ibgp 1

 !

 peer-group LEAF

  remote-as external

  timers 60 180

  timers connect 30

  advertisement-interval 0

  capability extended-nexthop

  !

  address-family ipv4 unicast

   activate

   send-community both

  !

  address-family l2vpn evpn

   activate

 !

 neighbor interface Eth1/1

  peer-group LEAF

 !

 neighbor interface Eth1/2

  peer-group LEAF

 !

 neighbor interface Eth1/3

  peer-group LEAF

SPINE2

interface Loopback 0

 description router-id

 ip address 10.0.1.2/32

 

 

interface Eth1/4

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

!

interface Eth1/5

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

!

interface Eth1/6

 mtu 9100

 speed 25000

 no shutdown

 ipv6 enable

 

router bgp 65000

 router-id 10.0.1.2

 log-neighbor-changes

 bestpath as-path multipath-relax

 timers 60 180

 !

 address-family ipv4 unicast

  redistribute connected

  maximum-paths 3

  maximum-paths ibgp 1

 !

 peer-group LEAF

  remote-as external

  timers connect 30

  advertisement-interval 0

  capability extended-nexthop

  !

  address-family ipv4 unicast

   activate

   send-community both

  !

  address-family l2vpn evpn

   activate

 !

 neighbor interface Eth1/4

  peer-group LEAF

 !

 neighbor interface Eth1/5

  peer-group LEAF

 !

 neighbor interface Eth1/6

  peer-group LEAF

!

ENDHOSTs

 

host1:

 

interface Vlan50

 ip address 192.168.50.10/24

!

interface PortChannel 202 mode on

 switchport trunk allowed Vlan 50

 no shutdown

 

interface Eth1/3

 mtu 9100

 speed 10000

 channel-group 202

 no shutdown

!

interface Eth1/4

 mtu 9100

 speed 10000

 channel-group 202

 no shutdown

 

ip route 192.0.0.0/8 192.168.50.254

 

host2:

 

 

!

interface Vlan140

 ip address 192.168.140.10/24

!

interface Eth1/1

 mtu 9100

 speed 25000

 no shutdown

 switchport trunk allowed Vlan 140

ip route 192.0.0.0/8 192.168.140.254

 

host3:

!

interface Vlan 50

 ip address 192.168.50.20/24

!

interface Eth1/2

 mtu 9100

 speed 25000

 no shutdown

 switchport trunk allowed Vlan 50

 

ip route 192.0.0.0/8 192.168.50.254

Tags: