Cisco Catalyst C9300X-24Y switch configuration Step-by-Step Complete Guide for 300 Hikvision IP Cameras

Cisco Catalyst C9300X-24Y Configuration for Enterprise CCTV Networks

Complete Step-by-Step Guide for 300 Hikvision IP Cameras


Introduction

The Cisco Catalyst C9300X-24Y is an enterprise Layer 3 core switch designed for high-performance campus and surveillance networks. In a CCTV deployment, it serves as the backbone that connects all floor access switches, Optical Distribution Frames (ODFs), Network Video Recorders (NVRs), and the monitoring network.

This tutorial demonstrates how to configure a Cisco Catalyst C9300X-24Y for a 9-floor building with 300 Hikvision IP cameras, using VLANs, SFP fiber uplinks, trunk ports, and management best practices.


Enterprise CCTV Topology

                 Floor 1 Switch
                        │
                 Single Mode Fiber
                        │
                 Floor 2 Switch
                        │
                 Single Mode Fiber
                        │
                     ......
                        │
                 Floor 9 Switch
                        │
               Main Fiber ODF
                        │
      Cisco Catalyst C9300X-24Y Core Switch
                        │
               24-Port Gigabit Switch
                        │
              Hikvision NVRs (5 Units)
                        │
                 Video Wall / LCD

Step 1 – Connect to the Cisco Switch

Using Console Cable

  • Connect the Cisco console cable from your PC to the switch.
  • Open PuTTY or Tera Term.

Serial Settings:

SettingValue
Speed9600
Data Bits8
Stop Bits1
ParityNone
Flow ControlNone

Press Enter to access the CLI.


Step 2 – Basic Switch Configuration

enable

configure terminal

hostname CCTV-Core-SW

no ip domain-lookup

service password-encryption

enable secret Cisco@123

banner motd #

Authorized Personnel Only

#

end

write memory

Step 3 – Configure Management IP

configure terminal

interface vlan 300

ip address 192.168.300.1 255.255.255.0

no shutdown

exit

Default Gateway:

ip default-gateway 192.168.300.254

Step 4 – Create CCTV VLANs

Example VLAN plan:

VLANPurpose
101Floor 1 Cameras
102Floor 2 Cameras
103Floor 3 Cameras
104Floor 4 Cameras
105Floor 5 Cameras
106Floor 6 Cameras
107Floor 7 Cameras
108Floor 8 Cameras
109Floor 9 Cameras
200NVR Network
300Management

Configuration:

configure terminal

vlan     101
name     FLOOR1

vlan     102
name     FLOOR2

vlan     103
name     FLOOR3

vlan     104
name     FLOOR4

vlan     105
name     FLOOR5

vlan     106
name     FLOOR6

vlan     107
name     FLOOR7
    
vlan     108
name     FLOOR8

vlan     109
name     FLOOR9

vlan     200
name     NVR

vlan     300
name     MANAGEMENT

end

Step 5 – Configure SFP Fiber Uplink Ports

Assuming ports TwentyFiveGigE1/1/1 to TwentyFiveGigE1/1/9 connect to the floor switches.

configure terminal

interface TwentyFiveGigE1/1/1

description Floor1 Fiber

switchport mode trunk

switchport trunk allowed vlan 101

no shutdown

exit

Repeat for the remaining floors:

PortVLAN
1/1/1101
1/1/2102
1/1/3103
1/1/4104
1/1/5105
1/1/6106
1/1/7107
1/1/8108
1/1/9109

Step 6 – Configure Monitoring Switch Port

Example:

interface TwentyFiveGigE1/1/20

description Monitoring Switch

switchport mode access

switchport access vlan 200

no shutdown

exit

Step 7 – Configure Management PC Port

interface TwentyFiveGigE1/1/21

description Network Administrator

switchport mode access

switchport access vlan 300

no shutdown

Step 8 – Enable Inter-VLAN Routing

configure terminal

ip routing

Create VLAN interfaces:

interface vlan101

ip address 192.168.101.1 255.255.255.0

no shutdown

exit

interface vlan102

ip address 192.168.102.1 255.255.255.0

no shutdown

exit

Repeat for VLANs 103–109.

Example gateways:

VLANGateway
101192.168.101.1
102192.168.102.1
103192.168.103.1
104192.168.104.1
105192.168.105.1
106192.168.106.1
107192.168.107.1
108192.168.108.1
109192.168.109.1
200192.168.200.1
300192.168.300.1

Step 9 – Verify SFP Modules

show interfaces status

show inventory

show interfaces transceiver

show interfaces trunk

These commands verify:

  • SFP detection
  • Link status
  • Trunk configuration
  • Optical interface health

Step 10 – Save the Configuration

copy running-config startup-config

or

write memory

Useful Verification Commands

CommandPurpose
show vlan briefDisplays configured VLANs
show interfaces trunkChecks trunk ports
show ip interface briefShows interface IP status
show mac address-tableLists learned MAC addresses
show spanning-treeDisplays STP status
show loggingShows system logs
show running-configDisplays current configuration
show startup-configDisplays saved configuration

Best Practices for CCTV Networks

  • Use Single-Mode Fiber (OS2) for all floor uplinks.
  • Keep camera traffic in dedicated VLANs.
  • Separate NVR and management networks.
  • Label fiber strands, ODF ports, and switch interfaces.
  • Use UPS protection for the core switch and NVRs.
  • Keep firmware updated during maintenance windows.
  • Back up the running configuration after every change.

Troubleshooting Checklist

IssueCheck
No camera videoVerify camera IP, PoE switch, VLAN assignment
Fiber link downCheck SFP modules, fiber polarity, ODF patching
NVR cannot discover camerasConfirm VLAN routing and IP addressing
Slow video or dropped framesCheck interface speed, duplex, and uplink utilization
Cannot access switch remotelyVerify management VLAN, IP address, gateway, and ACLs (if configured)

Complete Enterprise Data Flow

Hikvision IP Cameras
        │
      CAT6
        │
48-Port PoE Switch
        │
SFP Module
        │
Single-Mode Fiber
        │
Floor ODF
        │
Main ODF (5th Floor)
        │
Cisco Catalyst C9300X-24Y
        │
24-Port Gigabit Monitoring Switch
        │
CAT6 Patch Panel
        │
5 Hikvision NVRs
        │
HDMI
        │
Video Wall / LCD Monitors

Conclusion

The Cisco Catalyst C9300X-24Y provides a robust core for enterprise CCTV systems. By organizing each floor into its own VLAN, using fiber uplinks with SFP modules, enabling inter-VLAN routing where required, and separating camera, NVR, and management traffic, you create a network that is scalable, secure, and easier to troubleshoot.


📘 Next Tutorial in Your Blog Series

Hikvision IP Camera Configuration and NVR Integration (300-Camera Enterprise Deployment)

  • Initial camera activation
  • Batch IP assignment
  • Camera naming conventions
  • Adding cameras to NVRs
  • Recording schedules
  • Motion detection
  • Storage management
  • User permissions
  • Remote viewing with Hik-Connect
  • Troubleshooting common camera and NVR issues

This will continue building your end-to-end enterprise CCTV networking course, moving from Cisco core networking into Hikvision camera deployment and management.


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; }