Secure Network Best Practices Library · Manage, monitor and recover
SNMP security best practices
SNMP is how monitoring systems read the health of switches, routers, firewalls and printers. Its older versions protect that access with a single word sent in clear text, often still set to the factory default. This guide covers how to find where SNMP is on, remove the weak versions, configure version 3 properly, and limit who may ask.
Prefer to have it done for you? IT Perfection provides network monitoring services 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 › Manage, monitor and recover › SNMP security
Why it matters
Protect monitoring without exposing device management
Monitoring needs SNMP, or something like it. The monitoring server asks each device for interface counters, temperatures, power supplies and errors, and turns the answers into graphs and alerts.
The problem is how that access is protected. In versions 1 and 2c, the only protection is a community string, in effect a password, sent unencrypted in every request. Devices commonly ship with the read community set to public and the write community to private. A read community exposes the layout of the network. A write community lets whoever knows it change the configuration.
The fix is not to stop monitoring. It is to use version 3, restrict which servers may ask, grant read-only access, and remove what is left of the old versions.
On April 18, 2023, the UK National Cyber Security Centre, with the NSA, CISA and the FBI, published an advisory about activity in 2021 by a group it names APT28. The advisory states that the compromised Cisco routers were configured to accept SNMP version 2 requests, that SNMP version 2 does not support encryption so community strings are sent unencrypted, that weak community strings, including the default “public”, allowed the group to gain access to router information, and that the group exploited CVE-2017-6742, a vulnerability first announced by Cisco on June 29, 2017, for which patched software was made available.
Source: CISA advisory AA23-108, APT28 Exploits Known Vulnerability to Carry Out Reconnaissance and Deploy Malware on Cisco Routers, April 18, 2023. IT Perfection had no part in this case.
Versions
The three versions
| Version | Protection | Verdict |
|---|---|---|
| SNMPv1 | Clear-text community string | Remove |
| SNMPv2c | Clear-text community string | Remove; if a device supports nothing else, restrict it tightly and plan its replacement |
| SNMPv3 noAuthNoPriv | A user name only | Do not use |
| SNMPv3 authNoPriv | The sender is verified; content is readable | Minimum |
| SNMPv3 authPriv | The sender is verified and content is encrypted | Use this |
Within version 3, choose the stronger algorithms the device offers: SHA-2 for authentication and AES for encryption. Use different secrets for authentication and for privacy, stored in the password manager.
The standard
Six areas of SNMP security
| Area | Standard | Why |
|---|---|---|
| Version control | Version 3 authPriv only; versions 1 and 2c disabled | Nothing in clear text. |
| Manager restrictions | Only the monitoring server addresses may query, enforced on the device and by firewall rules; never from the internet | A stolen secret is not enough. |
| Least privilege | Read-only; a view limited to what monitoring needs; no write access | Monitoring cannot change devices. |
| Credential handling | Unique users and long secrets; stored in the password manager; changed when staff with knowledge leave | No defaults. |
| Trap and alert design | Traps for authentication failures, link changes and configuration changes sent to the monitoring server | Failed attempts are seen. |
| Lifecycle review | SNMP settings checked when devices are added, replaced or monitoring tools change | Old accounts do not linger. |
The NSA guide recommends removing SNMP read-write community strings and, where SNMP is used, version 3 with authentication and privacy (sections 7.8 and 7.11.3). See also network device management hardening.
Before you start
Minimum SNMP security evidence
- A scan of your internal ranges for devices answering on UDP 161. Printers, cameras and uninterruptible power supplies answer too.
- The SNMP lines from every device configuration. Versions, communities, allowed sources.
- What the monitoring system supports. Version 3 with which algorithms.
- The addresses of the monitoring servers. For the restrictions.
- A list of devices that only support version 1 or 2c. For isolation or replacement.
- An outside scan of UDP 161 on your public addresses. It must not answer.
Step by step
Harden SNMP in seven steps
Inventory SNMP usage
Every device that answers, and every system that asks.
Remove weak defaults
Delete public and private at once, on every device, whether or not SNMP is otherwise in use.
Configure version 3 authPriv
A view, a group that requires privacy, a user with strong algorithms.
Restrict manager access
An access list on the device, plus firewall rules so only the monitoring server reaches UDP 161 on the management network.
Apply least-privilege views
Read-only. No write user unless a specific tool requires it, and then only from that tool.
Switch the monitoring system and remove version 2c
Add the version 3 credentials in the monitoring tool, confirm data is arriving, then delete the remaining communities.
Monitor failures and review
Alert on SNMP authentication failures. Re-check after device or tool changes.
! 1. Remove the old community strings no snmp-server community public no snmp-server community private ! ! 2. Only the monitoring server may ask ip access-list standard SNMP-MANAGERS permit 10.10.50.30 ! ! 3. A read-only view, a group that requires encryption, and a user snmp-server view MONITOR-VIEW iso included snmp-server group MONITOR-RO v3 priv read MONITOR-VIEW access SNMP-MANAGERS snmp-server user nms-monitor MONITOR-RO v3 auth sha <AUTH-SECRET> priv aes 256 <PRIV-SECRET> ! ! 4. Traps to the same server, also version 3 snmp-server host 10.10.50.30 version 3 priv nms-monitor snmp-server enable traps snmp authentication linkdown linkup snmp-server enable traps config
- Meraki offers SNMP polling of the dashboard at organization level and of devices at network level, under the organization settings and under Network-wide › Configure › General.
- Choose version 3 with authentication and privacy, and limit the addresses allowed to query.
- Many Meraki sites do not need SNMP at all, because the dashboard and its alerts cover monitoring. If it is not used, leave it off.
- Both platforms support SNMP version 3. Create a version 3 user with authentication and encryption, restrict it to the address of the monitoring server and give it read-only access.
- Enable SNMP only on the internal or management interface, never on the internet interface.
- Remove any version 1 or 2c community.
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.
Turn SNMP off where it is not used. Many devices have it enabled from the factory with default communities, including printers and power equipment. If nothing monitors the device by SNMP, disable the service.
Recommended values
The settings at a glance
| Setting | Recommended value | Why |
|---|---|---|
| Version | 3, authPriv | Authenticated and encrypted. |
| Algorithms | SHA-2 and AES where supported | Strongest the device offers. |
| Versions 1 and 2c | Disabled; communities deleted | No clear-text secrets. |
| Access | Read-only | Monitoring only. |
| Allowed sources | Monitoring server addresses only | Limits who can ask. |
| Interface | Management network only; never the internet side | Not reachable by strangers. |
| Traps | Version 3, to the monitoring server; authentication failure trap on | Attempts are visible. |
| Secrets | Unique, long, in the password manager | No defaults or reuse. |
| Unused SNMP | Service off | Nothing to attack. |
Check that it works
Confirm SNMP is hardened, and common risks
! Illustration User name: nms-monitor Authentication Protocol: SHA Privacy Protocol: AES256 Group-name: MONITOR-RO
- A query with the community public gets no answer. From the monitoring server and from a staff computer.
- A version 3 query from the monitoring server works; the same query from another computer does not. Proves the source restriction.
- The monitoring system shows current data for every device. Nothing was lost in the change.
- UDP 161 does not answer from the internet. Outside scan.
- A deliberate failed query produced an alert. Authentication failure trap.
| Risk | What happens | Fix |
|---|---|---|
| Default community strings | Anyone inside can read device details | Delete them. |
| SNMPv1 or v2c exposure | Secrets cross the network in clear text | Version 3 authPriv. |
| Broad source access | Any computer can query | Restrict to the monitoring server. |
| Excessive access | A write community can change configuration | Read-only views. |
| Unmonitored failures | Guessing goes unnoticed | Authentication failure traps. |
| Stale monitoring accounts | Old tools and users still valid | Review on change. |
Sources read Nov 22, 2026: CISA advisory AA23-108; NSA, Network Infrastructure Security Guide.
Have us do it
Prefer to hand this off?
SNMP clean-up is part of our network monitoring services. We find every device that answers, remove default and clear-text communities, configure version 3 with restricted sources, move your monitoring over and confirm that nothing answers from outside. You receive a written scope and a written quote before any work starts.
Next in the library
Related guides
Want a quick self-check first? Try the free network infrastructure self-assessment.
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
SNMP security: common questions
Is SNMP a security risk?
Versions 1 and 2c are, because they protect access with a clear-text community string that is often left at a default. Version 3 with authentication and encryption, restricted to the monitoring server, is acceptable.
What is the difference between SNMPv2c and SNMPv3?
Version 2c uses a community string sent unencrypted. Version 3 uses named users, verifies the sender and can encrypt the content.
What does authPriv mean?
It is the SNMP version 3 security level with both authentication and privacy: the device verifies who is asking, and the exchange is encrypted.
Should SNMP be open to the internet?
No. SNMP should be reachable only from the monitoring server on the internal or management network.
Do I need SNMP write access?
Almost never for monitoring. Use read-only access. If a tool requires write access, limit it to that tool and that purpose.
Can IT Perfection do this for us?
Yes. It is part of our network monitoring services 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