Article Overview

Two core switches can be configured as a high-availability pair using VSX or stacking, with LAGs for inter-switch links and VLANs for Layer 2/Layer 3 traffic.

Step 1: Plan the Topology

Before configuration, determine the network topology:

  • Decide whether to use VSX (Virtual Switching Extension) for independent control planes or stacking for a single logical switch.
  • Identify primary and secondary roles if using VSX.
  • Plan inter-switch links (ISL) using LAGs for redundancy.
  • Define VLANs for access, transit, and routed traffic between the core switches and upstream networks .

Step 2: Configure Management Interfaces

  • Assign IP addresses to the management VLAN on each switch.
  • Ensure connectivity between switches for keepalive messages (VSX) or stack communication.
  • Example for Aruba VSX:
    • Switch 1: VLAN 3999, IP 172.16.10.10/24
    • Switch 2: VLAN 3999, IP 172.16.10.11/24 .

Step 3: Configure Inter-Switch Links (LAG)

  • Create a Link Aggregation Group (LAG) on both switches for the inter-switch link.
  • Assign the LAG as the VSX data plane ISL or stack connection.
  • Enable LACP active mode for dynamic link aggregation.
  • Example:

    interface lag 128 no shutdown description VSX-ISL vlan trunk allowed all lacp mode active

Step 4: Configure VSX or Stack

  • VSX:
    • Assign roles: one switch as primary, the other as secondary.
    • Configure VSX keepalive using the OOB management interface.
    • Synchronize features like STP, LLDP, and MC-LAG interfaces.
    • Example:

      vsx role primaryinter-switch-link lag 128keepalive peer 172.16.10.11 source 172.16.10.10vsx-sync vsx-global

  • Stacking:
    • Assign stack member IDs and priorities.
    • Connect stack cables and power on switches.
    • Verify stack formation and master switch election .

Step 5: Configure VLANs and Routing

  • Create VLANs for access and transit traffic.
  • Configure Switch Virtual Interfaces (SVIs) for Layer 3 routing.
  • Assign default gateways for hosts in each VLAN.
  • Example for Nexus:

    interface vlan 10 ip address 192.168.1.1/24interface vlan 20 ip address 192.168.2.1/24ip route 0.0.0.0/0 10.0.0.2

Step 6: Verify and Save Configuration

  • Check LAG status, VSX synchronization, or stack health.
  • Test inter-VLAN routing and connectivity to upstream networks.
  • Save the configuration to prevent loss after reboot:

    write memorycopy running-config startup-config

Key Considerations

  • Always configure redundant paths to prevent single points of failure.
  • Use MultiEdit or CLI for bulk configuration with syntax checking (Aruba CX).
  • Monitor VSX or stack logs for errors during initial deployment.
  • Ensure consistent VLAN and VRF assignments across both switches . By following these steps, your two core switches will operate as a resilient, high-availability pair capable of handling Layer 2 aggregation, inter-VLAN routing, and seamless failover.

Core Configuration of a Router and a Switch in Cisco Packet Tracer

Berg IT Training - In this CCST and CCNA introductory-level video, I perform a line-by

Basic Cisco Switch Configuration Example in 10 Steps

Unlike other lower class switch vendors (which are plug-and-play), the Cisco switch needs some initial basic configuration in order to

Solved: Redunancy with two switches core

Hello everyone, I have a customes have just bougth ttwo switches core (L3), his today diagram network is: Access

What is optimal way to connect two core switch/routers

We have two 4507s at our core, running HSRP. We have three other 4507s at the edge, plus eight 2950s. All edge switches and

Internet connection to two core switches

Hi, I want to add some redundancy to my network by adding one more core switch. The problem is that I have only

How to Connect Multiple Ethernet Switches

Cascade vs Stack vs Cluster: Learn how to connect multiple Ethernet switches, compare the key differences, and

Cisco Switch Configuration Guide for Networking

FAQs 1. How to reset the Cisco switch configuration? To reset a Cisco switch configuration, enter the privileged EXEC mode and use

Two-Tier Core

Configure Two-Tier core switches as a VSX pair for Layer 2 aggregation of the data center access switches, IP data

Redundant Core switches and Single Router Design

Hello Everyone, I am working on one design and need support for connectivity between two core switches and router.

How to Configure a Cisco Switch (step by step)

If you''re looking to configure a switch for the first time, this post is for you. Learn step-by-step configuration commands

SME Network Solution Typical Configuration Examples

"Gateway + Core Switch + Access Switch + AP + AR180" Networking: Huawei eKit Cloud Management "Gateway + Core Switch +

Cisco CLI Switch Command Cheat Sheet for 2025

Here''s the Cisco CLI Switch Command cheat sheet you need for configuring and managing Cisco switches The Cisco

Recommendations: Dual Core Switch for redundancy.

Make sure you designate the primary root bridge and the secondary on your core switches and configure the

How to configure redundant core switch in collapsed core?

With a routed access design, you''d configure a default gateway per access switch then route the connections to both cores. The

Solved: Stacking and Lag

I''m going to use two XOS based core switches, and a pair of X435 switches in my example below, you can

How to Connect Two Switches Together: A Comprehensive Guide

How to connect two switches together? Are you looking to expand your network infrastructure and connect multiple

Basic Switching Concepts and Configuration

Basic Switch Configuration (2.1) Basic switch administration should be mastered by a switch administrator. This includes familiarity

Configuring ToR Switches and Deploying Networks

Configuring ToR Switches and Deploying Networks This chapter describes how to configure the Top-of-Rack (ToR) switches and

Cisco core switches high availability

Hello everyone, In my campus network i have cisco 2960x as access switches and one cisco 3750 as core switch

Cisco Switch Layer2 Layer3 Design and Configuration

Layer2 and Layer3 switches are the foundation of any network. After all, any network devices (routers, firewalls, computers, servers

Best way to create redundancy with 2x layer 2 Cisco switches

My mistake sorry. The switches are Cisco 9300 switches and the devices are SCPC modems used in Satcoms (RF to

HSRP between 2 access switches and 2 core switches

Hi I am looking for running HSRP between 2 access switches and 2 core switches for client PC and Server network''s

Access, Distribution, and Core Layers Explained

This tutorial provides an overview of the access, distribution, and core layers and explains two-tier and three-tier

Stack or separate core switching (x690)

We''re going to install two 48 port SFP+ switches at a co-location facility that will house all of our primary servers and

Two uplinks in core switch

Hi Expert Team, i had two uplink from location_1 core switch to location_2 core switch. And i want to configure these

Best practice for chaining switches together?

So, for example, if building 3 has fiber runs from all the other 5 buildings, you could install a set of core switches like

Guide to Basic Switch Configuration | Auvik

Switch configuration on your own can seem like a daunting task. Use this handy guide to get your network switch up

Configure Spanning Tree for intervlan routing core switch and L2

Layer 2 access switch: Netgear GS752TX: configure with vlan 10, 20, 30, 40, 50 trunked to Cisco L3 switch. My

Cisco Switch Layer2 Layer3 Design and Configuration

One simple and popular switch design scenario will be shown in the following tutorial. This scenario will fit most SMB networks (or

LAN Switching Configuration Guide

If necessary, refer to the IP configuration chapters in the Cisco IOS XE IP Routing Protocols Configuration Guide, Release 2, for

Aruba Central Initial Configuration

Prepare switches for deployment in Aruba Central for building a Layer 2 Two-Tier Data Center. The L2 Two-Tier Data

Solved: HSRP

The network is a classic two-tier design with one access switch on each floor of the building and two core switches

8 Steps to configure your network switch

Follow these simple best practices to set up a new network switch. Still fuzzy? Just like riding a bicycle, nobody''s born knowing how

8 Steps to configure your network switch

Learn how to setup a network switch with ease. Switches allow you to send and receive information efficiently and securely. Get

Linking of multiple Ethernet switches — cascading, stacking and

Therefore, the best way to connect multiple Ethernet switches depends on your specific network configuration and

Related Resources

Ready to Power Your Telecom Sites?

Request a free quote for hybrid solar systems, lithium battery cabinets, site EMS, off-grid packages, or complete microgrid solutions. EU‑owned German factory – reliable, efficient, and cost‑effective energy for Africa.