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.
Written by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026



Secure Network Best Practices Library › Switch configuration and port security › Switch configuration checklist
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
| Item | Standard | Detail |
|---|---|---|
| Remote access | SSH only; Telnet and plain HTTP off | The NSA guide recommends disabling clear text administration services (section 7.1) and using SSH version 2 (7.3) |
| Who can connect | Only the IT admin range on the management VLAN | See management VLAN and out-of-band access |
| Accounts | A named account per administrator; no shared or default login | NSA sections 5.1 to 5.4 |
| Idle sessions | Closed after five minutes or less | NSA section 7.5 |
| Software | A current, vendor-supported release, checked on a schedule | NSA section 3.3 |
| Sign-in banner | A short notice that access is for authorized users | NSA section 10 |
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
| Item | Standard | Detail |
|---|---|---|
| Time source | The same NTP source on every switch | Log entries from different devices can be lined up |
| Remote logging | Logs sent to a central log server | The NSA guide recommends at least two remote log servers (section 6.2); one is the realistic minimum for a small office |
| Log level | Informational | NSA section 6.3 |
| Time stamps | Date, time and time zone on every entry | Needed to reconstruct events |
| Monitoring | SNMP version 3 or the vendor dashboard; no read-write community strings | NSA section 7.8 |
| Alerts | Port down on uplinks, guarded ports, configuration changes | Someone 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
| Item | Standard | Detail |
|---|---|---|
| VLAN numbers and names | Identical on every switch | See VLAN design and segmentation |
| Default VLAN | Not used for staff, devices or management | NSA section 9.3 |
| Trunks | Set as trunks by hand; negotiation off; only the needed VLANs allowed | See trunk ports and the native VLAN |
| Native VLAN | An unused VLAN, not VLAN 1 | Same guide |
| Management VLAN | Its own VLAN, reachable only by IT | See management VLAN |
| Voice VLAN | Set on desk ports with phones | See voice VLAN configuration |
Area 4
Spanning tree
| Item | Standard | Detail |
|---|---|---|
| Protocol | On, on every switch, in the same rapid mode | Mixed modes converge slowly |
| Root | The core switch, set by priority | The oldest switch should not win by accident |
| Edge ports | PortFast with BPDU guard | An unexpected switch is shut out |
| Ports facing access switches | Root guard on the core | No 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
| Item | Standard | Detail |
|---|---|---|
| Profiles | Every port has one: desk, device, access point, link to a switch, or unused | See switch port security and unused ports |
| Descriptions | On every port | The configuration is its own port map |
| Address limits | 1 per port, or 2 with a phone | NSA section 9.2 |
| Unused ports | Shut down and parked in an unused VLAN | NSA section 9.4 |
| Rogue DHCP and spoofing | DHCP snooping, then ARP inspection | See DHCP snooping and ARP inspection |
| Device and printer ports | In their own VLAN | See IoT and printer VLAN |
Area 6
Power over Ethernet and voice quality
| Item | Standard | Detail |
|---|---|---|
| Power budget | Total draw of phones, access points and cameras checked against the switch budget | A full switch drops devices when one more is added |
| Power priority | Access points and phones above other devices, where the switch supports it | The important devices stay up if power is short |
| Voice marking | Phones trusted to mark their own traffic on the voice VLAN | See voice VLAN configuration |
| Uplink speed | Negotiated at the expected speed, with no errors | A bad cable shows as a slow or noisy uplink |
Area 7 and how to apply it
Records, and applying the standard in six steps
| Item | Standard | Detail |
|---|---|---|
| Saved configuration | Saved to startup after every change | NSA section 3.2 |
| Backup | A copy of every configuration off the switch, dated | A failed switch is rebuilt from it |
| Change record | What changed, when and by whom | The first question in any outage |
| Port map and diagram | Updated with every move, add and change | See access, distribution and core switches |
Write the standard
Start from this checklist and fill in your own values: VLAN numbers, the admin range, the time source, the log server.
Export the current configurations
Save a dated copy of every switch as it is today. This is both the starting point and the rollback.
Compare and list the gaps
Go through the seven areas for each switch. Mark each item as matches, differs or missing.
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.
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.
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
- Management is the dashboard itself: use named administrator accounts with two-step sign-in and the lowest role that does the job.
- Network-wide › Configure › General holds the time zone, syslog servers and SNMP.
- Switching › Configure › Switch settings holds the management VLAN, spanning tree and bridge priorities.
- Switching › Monitor › Switch ports holds the port settings; use tags and names so every port has a profile.
- Configuration is stored in the dashboard, so the record to keep is the change log and the port map.
- The same seven areas apply: SSH-only management limited to the management network, named accounts, NTP, remote logging, named VLANs, spanning tree with edge-port protection, and port descriptions.
- AOS-CX keeps configuration checkpoints, which are useful for the record and for rollback.
- Command names differ between switch series and software versions; build the template from the guides for your series on the HPE Aruba Networking documentation site.
- Management is the UniFi console: named administrator accounts with two-step sign-in, and no shared owner login.
- Networks, VLAN numbers and names are defined once under Settings › Networks and apply to every switch.
- Spanning tree is under Settings › Networks › Spanning Tree, with priority set per switch.
- Port settings are in the Port Manager of each switch; port profiles keep them consistent.
- Schedule console backups and keep a copy outside the console.
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
| Gap | Why it matters | Fix |
|---|---|---|
| Telnet still enabled | Sign-ins cross the network in clear text | SSH only on the management lines. |
| Default or shared logins | Nobody can say who made a change | A named account per administrator. |
| No time source | Logs from different switches cannot be compared | The same NTP source everywhere. |
| Logs kept only on the switch | They are lost at a restart | Send them to a log server. |
| Mixed spanning tree modes | Slow recovery after a link failure | One rapid mode on every switch. |
| Unsaved changes | A power cut undoes the work | Save after every change; check before leaving. |
| No port descriptions | Every fault starts with tracing cables | Describe each port as it is patched. |
| Spare ports live on the staff VLAN | Anyone can plug in | Shut 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.
Next in the library
Related guides
This guide is for education and planning. Test in a maintenance window. IT Perfection is not affiliated with the vendors or agencies named on this page.

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.








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 serviceNetwork troubleshooting
Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.
View service