Cisco Catalyst C9300X-24Y High Availability (HSRP, StackWise & Redundant Network Design) for Enterprise CCTV

 Complete Enterprise Guide for 300 Hikvision IP Cameras

Series: Enterprise CCTV Networking with Cisco & Hikvision
Level: Advanced


Introduction

In enterprise CCTV systems, continuous recording is essential. A single switch failure, fiber cut, or power outage can interrupt video recording and monitoring.

High Availability (HA) ensures that the surveillance network continues operating even when hardware or network failures occur.

In this tutorial, you'll learn how to build a highly available CCTV network using:

  • Cisco Catalyst C9300X-24Y
  • Dual Core Switches
  • StackWise Virtual (if supported by your deployment)
  • HSRP (Hot Standby Router Protocol)
  • EtherChannel (LACP)
  • Dual Fiber Backbone
  • Rapid Spanning Tree (RSTP)
  • Dual Power Supplies
  • UPS Redundancy

Why High Availability Matters

Without redundancy:

❌ Camera recording may stop

❌ NVRs become unreachable

❌ Operators lose live video

❌ Network outage affects the entire building

With High Availability:

✅ Continuous recording

✅ Automatic failover

✅ No single point of failure

✅ Higher reliability


Enterprise HA Network Topology

                     ISP / Router
                          │
                   Firewall (Optional)
                          │
              ┌─────────────────────┐
              │                     │
      Cisco C9300X-1        Cisco C9300X-2
          Active               Standby
              │=====================│
             StackWise Virtual / Stack
              │=====================│
        ┌─────┴─────────────────────┴─────┐
        │                                 │
      Dual Fiber Backbone (LACP/EtherChannel)
        │                                 │
  Floor 1–9 Access Switches (Dual Uplinks)
        │
   300 Hikvision IP Cameras
        │
   Gigabit Monitoring Switch
        │
  5 Hikvision NVRs
        │
   Video Wall / LCD

Step 1 – Dual Core Switch Design

Instead of one Core Switch, install two Cisco Catalyst C9300X-24Y switches.

SwitchRole
Core Switch 1Active
Core Switch 2Standby/Peer

Benefits:

  • Automatic failover
  • Hardware redundancy
  • Easier maintenance
  • Higher uptime

Step 2 – StackWise Virtual

If your deployment and licensing support StackWise Virtual, configure the two switches as one logical switch.

Advantages:

  • One management IP
  • One configuration
  • Fast failover
  • Simplified operations

Example concept:

Cisco C9300X-1
        ║
StackWise Virtual Link
        ║
Cisco C9300X-2

Step 3 – HSRP (Gateway Redundancy)

HSRP provides a virtual gateway for cameras and NVRs.

Example:

DeviceIP
Core Switch 1192.168.101.2
Core Switch 2192.168.101.3
HSRP Virtual IP192.168.101.1

Cameras use the virtual IP as their default gateway.

Example configuration (simplified):

interface Vlan101
 ip address 192.168.101.2 255.255.255.0
 standby 101 ip 192.168.101.1
 standby 101 priority 110
 standby 101 preempt

On the second switch:

interface Vlan101
 ip address 192.168.101.3 255.255.255.0
 standby 101 ip 192.168.101.1
 standby 101 priority 100
 standby 101 preempt

Repeat for VLANs 102–109, 200, and 300.


Step 4 – Dual Fiber Uplinks

Every floor switch should connect to both core switches.

Floor Switch
      │
 ┌────┴────┐
 │         │
Fiber A  Fiber B
 │         │
Core 1   Core 2

Benefits:

  • Fiber redundancy
  • Automatic failover if one link is lost

Step 5 – EtherChannel (LACP)

Combine multiple physical links into one logical link.

Example:

Core Switch
   │
Fiber 1
Fiber 2
Fiber 3
Fiber 4
   │
EtherChannel
   │
Access Switch

Benefits:

  • Increased bandwidth
  • Redundancy
  • Load balancing

Step 6 – Rapid Spanning Tree (RSTP)

RSTP prevents switching loops while allowing fast recovery after a failure.

Recommended:

spanning-tree mode rapid-pvst

Set the primary root:

spanning-tree vlan 101-109,200,300 root primary

Set the secondary root on the backup switch:

spanning-tree vlan 101-109,200,300 root secondary

Step 7 – Redundant Power

Each Core Switch should use:

  • Dual Power Supplies
  • Separate UPS feeds
  • Independent electrical circuits (where possible)
UPS-A
   │
Core Switch 1

UPS-B
   │
Core Switch 2

Step 8 – Redundant Fiber Backbone

Use two physically separate fiber paths if the building design allows.

Floor ODF
   │
Fiber Route A
   │
Core Switch

AND

Floor ODF
   │
Fiber Route B
   │
Backup Core

This protects against cable damage affecting both links.


Step 9 – Redundant NVR Connections

Connect critical NVRs using separate switch paths where supported.

NVR
 │      │
 │      │
SW-1   SW-2

This increases availability if one access path fails.


Step 10 – High Availability Rack Layout

Rack 1

  • Cisco Catalyst Core Switch 1
  • UPS-A

Rack 2

  • Cisco Catalyst Core Switch 2
  • UPS-B

Rack 3

  • Main Fiber ODF

Rack 4

  • Gigabit Monitoring Switch

Rack 5

  • NVR-1
  • NVR-2
  • NVR-3

Rack 6

  • NVR-4
  • NVR-5
  • Patch Panels
  • Documentation

Failover Testing

Test the design before production.

Test 1

Disconnect Fiber A.

Expected result:

✅ Cameras remain online.


Test 2

Power off Core Switch 1.

Expected result:

✅ Core Switch 2 becomes active.


Test 3

Disconnect one EtherChannel member.

Expected result:

✅ Remaining links continue forwarding traffic.


Test 4

Power off one UPS.

Expected result:

✅ Equipment remains operational on the alternate power source.


Monitoring Commands

Useful Cisco commands:

show standby brief

Displays HSRP status.

show etherchannel summary

Displays EtherChannel information.

show spanning-tree

Displays STP topology.

show interfaces status

Displays interface status.

show logging

Displays system logs.


Enterprise Best Practices

  • Deploy two core switches for redundancy.
  • Use dual fiber uplinks from every access switch.
  • Aggregate uplinks with LACP where appropriate.
  • Use Rapid PVST+ or another suitable STP mode.
  • Provide redundant power and UPS systems.
  • Test failover regularly.
  • Keep software versions aligned across redundant devices.
  • Maintain accurate network documentation.

High Availability Data Flow

300 Hikvision IP Cameras
        │
      CAT6
        │
48-Port PoE Switches
        │
Dual Fiber Uplinks
        │
Main Fiber ODF
        │
Cisco C9300X Core Switch 1
        ║
StackWise Virtual / HSRP
        ║
Cisco C9300X Core Switch 2
        │
Gigabit Monitoring Switch
        │
5 Hikvision NVRs
        │
Video Wall

Common Failure Scenarios

FailureRedundancy FeatureResult
Single fiber cutDual fiber uplinksTraffic switches to the alternate path
Core switch failureStackWise Virtual or HSRPServices continue on the surviving switch
Single power supply failureDual PSUsSwitch remains powered
UPS failureRedundant UPSEquipment continues operating
EtherChannel member failureLACPTraffic uses remaining links

Conclusion

A high-availability design is essential for enterprise CCTV systems where continuous monitoring is required. By combining dual Cisco Catalyst C9300X-24Y core switches, HSRP, StackWise Virtual (where supported), EtherChannel, Rapid Spanning Tree, and redundant fiber and power, you can significantly reduce downtime and improve the resilience of your surveillance network.


📘 Next Tutorial in Your Enterprise CCTV Series

Complete Enterprise CCTV Project: 300 Hikvision IP Cameras from Planning to Commissioning

This comprehensive capstone guide will bring together everything covered in the series:

  • Project planning and site survey
  • Bill of Materials (BOM)
  • Rack layout and cable management
  • Camera placement strategy
  • CAT6 and fiber installation
  • ODF termination and testing
  • Cisco Catalyst C9300X-24Y configuration
  • VLANs and IP addressing
  • Hikvision camera activation
  • NVR configuration
  • Storage and bandwidth verification
  • Security hardening
  • High-availability validation
  • Final testing, documentation, and client handover

This final tutorial will serve as a complete end-to-end deployment guide suitable for your blog readers and YouTube audience.

Post a Comment

0 Comments

WhatsApp .whatsapp-float{ position:fixed; bottom:20px; right:20px; background:#25D366; color:#fff; padding:14px 18px; border-radius:50px; text-decoration:none; font-weight:bold; z-index:999; }