Updated: 03 December 2026
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.
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.
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.
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)#
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.
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.
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.
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.
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.
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.
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.
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.
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.
We'll get back to you shortly.