Networks

Cisco Catalyst 9300 Initial Configuration: A Step-by-Step Guide

Updated: 03 December 2026

Cisco Catalyst switch setup with laptop
5 Minutes Read

Catalyst 9300 Setup: From Console to Secure and Manageable

A new Catalyst 9300 out of the box does nothing useful until you configure it. This guide takes you from the first console connection to a switch that's reachable, secure and ready to build on, with the actual commands, in the order you run them. 

It assumes a standard access-layer deployment on Cisco IOS XE. Adjust the addresses and names for your environment. 

Before You Start 

You'll need a few things to hand: a console cable (the blue rollover cable, or a USB-to-console cable for the mini-USB port), a terminal program (PuTTY, SecureCRT or similar), and an IP plan, the management IP, subnet mask, default gateway and management VLAN you'll use. Set your terminal to 9600 baud, 8 data bits, no parity, 1 stop bit, no flow control (8N1). 

Have a strong password ready too. You'll set it in a moment, and you don't want to improvise it. 

Step 1: Connect to the Console 

Plug the console cable into the switch's console port and your laptop, open the terminal session at 9600 8N1, and power on the switch. You'll see the boot sequence scroll past. Wait for it to finish. 

Step 2: Skip the Setup Wizard 

When the switch finishes booting it offers an initial configuration dialog: 

Would you like to enter the initial configuration dialog? [yes/no]: no 

Type no. The wizard is fine for a quick start, but configuring manually gives you full control and a cleaner result. Press Return to get the prompt, then enter privileged mode and global configuration: 

Switch> enable 

Switch# configure terminal 

Switch(config)# 

Step 3: Set the Hostname and Enable Secret 

Name the switch and protect privileged mode: 

Switch(config)# hostname SW-ACCESS-01 

SW-ACCESS-01(config)# enable secret <StrongPassword> 

SW-ACCESS-01(config)# service password-encryption 

Use enable secret, not enable password, it's hashed rather than stored in clear text. Service password-encryption obscures the remaining plain-text passwords in the config. 

Step 4: Configure a Management IP 

You need a management address to reach the switch over the network. There are two common approaches. 

For in-band management over a VLAN interface (SVI): 

SW-ACCESS-01(config)# interface vlan 1 

SW-ACCESS-01(config-if)# ip address 10.10.10.2 255.255.255.0 

SW-ACCESS-01(config-if)# no shutdown 

SW-ACCESS-01(config-if)# exit 

SW-ACCESS-01(config)# ip default-gateway 10.10.10.1 

For out-of-band management on the dedicated management port, which is the cleaner, more secure choice and sits in its own VRF: 

SW-ACCESS-01(config)# interface GigabitEthernet0/0 

SW-ACCESS-01(config-if)# vrf forwarding Mgmt-vrf 

SW-ACCESS-01(config-if)# ip address 192.168.0.2 255.255.255.0 

SW-ACCESS-01(config-if)# no shutdown 

A best practice is to use a dedicated management VLAN or the out-of-band port rather than VLAN 1. VLAN 1 works, but keeping management separate from user traffic is better hygiene. 

Step 5: Enable Secure Remote Access (SSH) 

You'll manage the switch remotely, and it should be over SSH, never Telnet. SSH needs a hostname (done), a domain name and an RSA key: 

SW-ACCESS-01(config)# ip domain name example.com 

SW-ACCESS-01(config)# crypto key generate rsa modulus 2048 

SW-ACCESS-01(config)# ip ssh version 2 

Generating the RSA key automatically enables SSH (Cisco Catalyst 9300 SSH configuration). Now create a local user and lock the VTY lines to SSH with local login: 

SW-ACCESS-01(config)# username admin privilege 15 secret <StrongPassword> 

SW-ACCESS-01(config)# line vty 0 15 

SW-ACCESS-01(config-line)# login local 

SW-ACCESS-01(config-line)# transport input ssh 

SW-ACCESS-01(config-line)# exec-timeout 10 0 

SW-ACCESS-01(config-line)# exit 

The transport input ssh line is the important one: it refuses Telnet entirely, so the switch only accepts encrypted management sessions. 

Step 6: Add the Essentials 

A few settings every production switch should have, a login banner, accurate time, and logging with timestamps: 

SW-ACCESS-01(config)# banner motd #Authorised access only. All activity is logged.# 

SW-ACCESS-01(config)# ntp server 10.10.10.5 

SW-ACCESS-01(config)# service timestamps log datetime msec 

SW-ACCESS-01(config)# logging host 10.10.10.6 

Accurate time from NTP matters more than it seems, it makes your logs correlate and your certificates behave. 

Step 7: Save the Configuration 

None of this survives a reload until you save it: 

SW-ACCESS-01(config)# end 

SW-ACCESS-01# copy running-config startup-config 

Get into the habit of saving after every meaningful change. A switch that reboots and forgets its config is a bad afternoon. 

Step 8: Verify 

Confirm the switch is where you expect: 

SW-ACCESS-01# show version 

SW-ACCESS-01# show ip interface brief 

SW-ACCESS-01# show running-config 

SW-ACCESS-01# show ip ssh 

show version confirms the model, IOS XE release and uptime; show ip interface brief confirms your management interface is up with the right address; show ip ssh confirms SSH is enabled and on version 2. Test an SSH session from another host before you disconnect the console. 

A Note on Licensing 

The 9300 runs its switching features on a perpetual network licence built into the hardware, so it forwards traffic and runs this configuration regardless of subscription state. Under Smart Licensing Using Policy, the switch works first and reports usage later, so there's no registration token to enter during setup. You will, however, want to establish the licence trust and reporting for the device in your Smart Account as part of commissioning. 

Best Practices for a Production 9300 

Beyond the basics above, a few habits keep a production switch clean and secure. Run the switch in install mode rather than bundle mode, so upgrades are safer and reversible. Keep management SSH-only and off VLAN 1. Use strong, unique passwords and, at scale, central authentication with AAA rather than local accounts. And disable services you don't use. These aren't initial-config steps, but they're the difference between a switch that's merely working and one that's ready for production. 

Deploying at Scale 

Configuring one switch by hand is straightforward; configuring a stacked, standardised access layer across many sites, consistently and securely, is where template-driven deployment and zero-touch provisioning earn their place. Proactive Data Systems, a Cisco Preferred Partner with CCIE-led design, configures and deploys Catalyst estates to a standard, tested build so every switch comes up the same way. If you're rolling out 9300s at scale, that consistency is worth having from the start. 

Frequently Asked Questions

Connect to the console at 9600 8N1, skip the setup wizard, then set the hostname and enable secret, configure a management IP on an SVI or the dedicated management port, enable SSH with a domain name and RSA key, add a banner, NTP and logging, and save with copy running-config startup-config. Verify with show commands.
Either assign an IP to a VLAN interface (interface vlan, ip address, no shutdown) with an ip default-gateway, or use the dedicated management port GigabitEthernet0/0 in the Mgmt-vrf. Out-of-band management on the dedicated port is cleaner and keeps management traffic off the user VLANs.
Set a hostname and an IP domain name, generate an RSA key with crypto key generate rsa modulus 2048, set ip ssh version 2, create a local user, then on the VTY lines set login local and transport input ssh. Generating the RSA key automatically enables SSH, and transport input ssh disables Telnet.
No. The switch's switching and routing features run on the perpetual network licence, so it forwards traffic and accepts this configuration without an active DNA or Catalyst subscription. The subscription is required at purchase and adds Catalyst Center automation and support, but not basic configuration.
Install mode, for production. It boots from a packages.conf file and supports a safer, reversible three-step upgrade process with automatic rollback, whereas bundle mode boots from a single image, uses more RAM and lacks automated rollback. Convert to install mode before deploying if the switch is in bundle mode.

Whitepapers

E-Books

Contact Us

We value the opportunity to interact with you, Please feel free to get in touch with us.

 

 

 

 

Share a few details to get started.

We'll get back to you shortly.