Courseiva
mediumMultiple ChoiceObjective-mapped

SNMPv2c Community Configuration — Common Mistakes

snmp-server community public RO\nsnmp-server community private RW\nsnmp-server community secret RW

What is wrong with this configuration?

Quick Answer

The answer is that the configuration lacks any access list to restrict SNMP access, which is the primary mistake. While having multiple read-write communities like "private" and "secret" is technically allowed, it introduces unnecessary security risk; however, the critical flaw is that without an access list applied to any of the snmp-server community statements, SNMPv2c traffic is accepted from any source IP address. On the Cisco CCNP ENARSI 300-410 exam, this tests your understanding that SNMPv2c community strings are essentially passwords sent in plaintext, and without ACL-based source filtering, the device is exposed to unauthorized read or write operations from the entire network. A common trap is focusing only on the duplication of RW communities and missing the missing ACL, so always check for the access-list keyword after the community string. Memory tip: “No ACL, no control — SNMP is open to all.”

⚠ Common exam trap

Cisco often tests the misconception that multiple RW communities are invalid or that community strings have a minimum length, when the real issue is the missing ACL to enforce source-based security.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

There is no access list to restrict SNMP access.

The configuration lacks an access control list (ACL) to restrict which SNMP managers can use the community strings. Without an ACL, any device that can reach the router can query or modify the SNMP agent using the 'public' or 'private' strings, creating a severe security vulnerability. Cisco SNMP best practices mandate that each community string should be paired with an ACL to limit source IP addresses.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • There is no access list to restrict SNMP access.

    Why this is correct

    Without an ACL, any host can query the device using these community strings, which is a security concern.

  • The community strings must be at least 8 characters.

    Why it's wrong here

    There is no such requirement.

  • Only one read-write community is allowed.

    Why it's wrong here

    Multiple read-write communities are permitted.

  • The 'public' community should be read-write.

    Why it's wrong here

    It is common to have a read-only 'public' community.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

Courseiva writes every 300-410 question from scratch — 1,966 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on 300-410

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. snmp-server community public RO\nsnmp-server community private RW\nsnmp-server location DataCenter\nsnmp-server contact admin@example.com What is the effect of this configuration?

medium
  • A.SNMPv3 is enabled with authentication.
  • B.SNMPv2c is enabled with read-only community 'public' and read-write community 'private'.
  • C.Only read-only access is allowed using the 'private' community.
  • D.SNMP traps are enabled to the location DataCenter.

Why B: The configuration uses SNMPv2c community strings 'public' (read-only) and 'private' (read-write), which are plain-text authentication mechanisms. SNMPv2c is enabled by default when community strings are configured, and the 'RO' and 'RW' keywords explicitly define the access levels. This matches option B exactly.

Variation 2. snmp-server community MyCommunity RO 10\naccess-list 10 permit 192.168.1.0 0.0.0.255 What is the effect of this configuration?

medium
  • A.SNMP read-only access is allowed only from the 192.168.1.0/24 subnet.
  • B.SNMP read-write access is allowed from any host.
  • C.SNMP access is allowed from any host, but only read-only.
  • D.The community string is encrypted in the configuration.

Why A: The configuration `snmp-server community MyCommunity RO 10` sets the community string to 'MyCommunity' with read-only (RO) privileges and applies access-list 10. The `access-list 10 permit 192.168.1.0 0.0.0.255` restricts SNMP access to only the 192.168.1.0/24 subnet. Therefore, only hosts in that subnet can query the SNMP agent with read-only access.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 300-410 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 300-410 exam.