Secure Network Best Practices Library · Switch configuration and port security

Network switch configuration checklist for business networks

A consistent switch configuration is what makes a network predictable. This checklist is the standard build for a managed business switch: secure management, time and logging, VLANs and trunks, spanning tree, port profiles, power and voice, and saved records. Each item links to the guide that explains it.

Prefer to have it done for you? IT Perfection provides router, switch and VLAN management for companies in Irvine, Orange County and Los Angeles County.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Network administrator working on a laptop at a server rack
1 · ReviewWe compare every switch against one standard configuration and list the gaps.

Secure Network Best Practices Library › Switch configuration and port security › Switch configuration checklist

What it isA switch configuration checklist is a short written standard that every switch in the company follows: how it is managed, where it gets the time, where it sends logs, which VLANs it carries, how its ports are set and how its configuration is saved.
Where it livesOn every managed switch, core and access
Works onAny managed switch. Template shown for Cisco; notes for Meraki, Aruba and UniFi
Cost and timeNo licence needed. The work is the comparison and the planned changes
Risk if missingSlow diagnosis, hidden gapsSmall differences between switches make outages harder to trace

Why it matters

One standard configuration for every switch

In many offices each switch was set up by a different person at a different time. One still answers on Telnet, another has no time source, a third runs a different spanning tree mode, and none of them send logs anywhere. Each difference is small. Together they make outages harder to diagnose and security gaps easy to miss.

A configuration standard fixes that. It is a short written baseline that every switch follows. When all switches are the same, a problem on one stands out, a replacement can be built in an hour, and a review is a comparison against a list instead of an investigation.

The standard does not have to be long. The seven areas below cover what matters for an office network. Where a switch has to differ, the difference is written down as an exception with a reason.

Area 1

Management access

ItemStandardDetail
Remote accessSSH only; Telnet and plain HTTP offThe NSA guide recommends disabling clear text administration services (section 7.1) and using SSH version 2 (7.3)
Who can connectOnly the IT admin range on the management VLANSee management VLAN and out-of-band access
AccountsA named account per administrator; no shared or default loginNSA sections 5.1 to 5.4
Idle sessionsClosed after five minutes or lessNSA section 7.5
SoftwareA current, vendor-supported release, checked on a scheduleNSA section 3.3
Sign-in bannerA short notice that access is for authorized usersNSA section 10
What the reference guidance says

The NSA guide recommends disabling clear text administration services such as Telnet, preferring SSH version 2, limiting which addresses can reach management services, and setting administrative session timeouts to five minutes or less.

Source: NSA, Network Infrastructure Security Guide, sections 7.1, 7.3, 7.4 and 7.5. Read Nov 22, 2026.

Area 2

Time, logs and monitoring

ItemStandardDetail
Time sourceThe same NTP source on every switchLog entries from different devices can be lined up
Remote loggingLogs sent to a central log serverThe NSA guide recommends at least two remote log servers (section 6.2); one is the realistic minimum for a small office
Log levelInformationalNSA section 6.3
Time stampsDate, time and time zone on every entryNeeded to reconstruct events
MonitoringSNMP version 3 or the vendor dashboard; no read-write community stringsNSA section 7.8
AlertsPort down on uplinks, guarded ports, configuration changesSomeone is told when a protection triggers

Logs that stay on the switch are lost when the switch restarts, which is usually the moment they are needed. A small log server, or the log collection of the firewall or monitoring system you already have, is enough.

Area 3

VLANs and trunks

ItemStandardDetail
VLAN numbers and namesIdentical on every switchSee VLAN design and segmentation
Default VLANNot used for staff, devices or managementNSA section 9.3
TrunksSet as trunks by hand; negotiation off; only the needed VLANs allowedSee trunk ports and the native VLAN
Native VLANAn unused VLAN, not VLAN 1Same guide
Management VLANIts own VLAN, reachable only by ITSee management VLAN
Voice VLANSet on desk ports with phonesSee voice VLAN configuration

Area 4

Spanning tree

ItemStandardDetail
ProtocolOn, on every switch, in the same rapid modeMixed modes converge slowly
RootThe core switch, set by priorityThe oldest switch should not win by accident
Edge portsPortFast with BPDU guardAn unexpected switch is shut out
Ports facing access switchesRoot guard on the coreNo switch below can take over as root

The full explanation, with the configuration for four vendors and the way to recover a guarded port, is in spanning tree protection: BPDU guard, root guard and PortFast.

Area 5

Port profiles

ItemStandardDetail
ProfilesEvery port has one: desk, device, access point, link to a switch, or unusedSee switch port security and unused ports
DescriptionsOn every portThe configuration is its own port map
Address limits1 per port, or 2 with a phoneNSA section 9.2
Unused portsShut down and parked in an unused VLANNSA section 9.4
Rogue DHCP and spoofingDHCP snooping, then ARP inspectionSee DHCP snooping and ARP inspection
Device and printer portsIn their own VLANSee IoT and printer VLAN

Area 6

Power over Ethernet and voice quality

ItemStandardDetail
Power budgetTotal draw of phones, access points and cameras checked against the switch budgetA full switch drops devices when one more is added
Power priorityAccess points and phones above other devices, where the switch supports itThe important devices stay up if power is short
Voice markingPhones trusted to mark their own traffic on the voice VLANSee voice VLAN configuration
Uplink speedNegotiated at the expected speed, with no errorsA bad cable shows as a slow or noisy uplink

Area 7 and how to apply it

Records, and applying the standard in six steps

ItemStandardDetail
Saved configurationSaved to startup after every changeNSA section 3.2
BackupA copy of every configuration off the switch, datedA failed switch is rebuilt from it
Change recordWhat changed, when and by whomThe first question in any outage
Port map and diagramUpdated with every move, add and changeSee access, distribution and core switches
  1. Write the standard

    Start from this checklist and fill in your own values: VLAN numbers, the admin range, the time source, the log server.

  2. Export the current configurations

    Save a dated copy of every switch as it is today. This is both the starting point and the rollback.

  3. Compare and list the gaps

    Go through the seven areas for each switch. Mark each item as matches, differs or missing.

  4. Fix in planned windows

    Change one switch at a time, access switches before the core, with the management items first so you cannot lock yourself out later.

  5. Verify

    After each switch: sign in by SSH from the admin range, confirm Telnet is refused, check the time, find the test log entry on the log server, and check the spanning tree root.

  6. Save and document

    Save the configuration, take the new backup, and update the port map and the list of exceptions.

! Baseline for an access switch. Example values.
hostname ACCESS-SW1
!
! 1. Management: named accounts, SSH only, short timeout
username itadmin privilege 15 algorithm-type scrypt secret <PASSWORD>
no ip http server
ip ssh version 2
ip access-list standard MGMT-ONLY
 permit 10.10.99.192 0.0.0.63
line vty 0 15
 transport input ssh
 access-class MGMT-ONLY in
 exec-timeout 5 0
 login local
!
! 2. Time and logs
ntp server 10.10.99.1
service timestamps log datetime msec localtime show-timezone
logging host 10.10.50.20
logging trap informational
logging buffered 16777216 informational
!
! 3. VLANs, named the same on every switch
vlan 10
 name STAFF
vlan 20
 name VOICE
vlan 40
 name PRINTERS-IOT
vlan 99
 name MGMT
vlan 999
 name NATIVE-UNUSED
!
! 4. Spanning tree
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree portfast bpduguard default
!
! 7. Records
copy running-config startup-config

Example values. Replace names, ports, addresses and VLAN numbers with your own. Commands and menu names change between software versions; confirm them against the current documentation of the vendor before you apply them.

Keep a session open while you change management access. Apply the SSH and access list changes from one session and test a new sign-in from a second one before you close the first. A console cable on site is the fallback.

Common gaps

What we most often find

GapWhy it mattersFix
Telnet still enabledSign-ins cross the network in clear textSSH only on the management lines.
Default or shared loginsNobody can say who made a changeA named account per administrator.
No time sourceLogs from different switches cannot be comparedThe same NTP source everywhere.
Logs kept only on the switchThey are lost at a restartSend them to a log server.
Mixed spanning tree modesSlow recovery after a link failureOne rapid mode on every switch.
Unsaved changesA power cut undoes the workSave after every change; check before leaving.
No port descriptionsEvery fault starts with tracing cablesDescribe each port as it is patched.
Spare ports live on the staff VLANAnyone can plug inShut down and park unused ports.

Vendor sources read Nov 22, 2026: Cisco Catalyst command references; Meraki, General MS Best Practices; UniFi Switch Settings. Reference: NSA, Network Infrastructure Security Guide.

Have us do it

Prefer to hand this off?

Bringing every switch to one standard is the core of our router, switch and VLAN management work. We write the standard with you, compare each switch against it, apply the changes in planned windows and hand you the saved configurations, the port map and the list of exceptions. You receive a written scope and a written quote before any work starts.

Ali Hassani, CISSP and Certified CISO, IT Perfection

Who does the work

Written by Ali Hassani, CISSP, C|CISO

Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.

This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

FAQ

Switch configuration: common questions

What should a switch configuration checklist include?

Seven areas: management access, time and logging, VLANs and trunks, spanning tree, port profiles, power and voice settings, and saved records. Each has a small number of settings that should be the same on every switch.

Why disable Telnet on a switch?

Telnet sends the sign-in and everything typed afterwards in clear text. SSH encrypts the session. The NSA guide recommends disabling clear text administration services.

Do small offices need a log server?

Yes, in some form. Logs kept only on the switch are lost when it restarts. The log collection of a firewall or monitoring system you already own is enough.

How often should switch configurations be backed up?

After every change, and on a schedule so that nothing is missed. Keep the copies off the switch and dated.

Does this apply to cloud-managed switches?

Yes. With Meraki or UniFi the dashboard handles storage and some defaults, but administrator accounts, VLAN names, spanning tree, port profiles and the port map are still your standard to set.

Can IT Perfection do this for us?

Yes. It is part of our router, switch and VLAN management service for companies in Irvine, Orange County and Los Angeles County. Call 949-777-5567 or use the contact page to request a quote.

Need this done for your business?

IT Perfection plans, installs and supports this for companies in Irvine and Orange County

The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.

Network design and installation

Firewall, switches, VLANs and Wi-Fi planned, installed and documented.

View service

Firewall installation

New or replacement firewalls with clean rules and VPN with MFA.

View service

Network troubleshooting

Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.

View service