liveBook · Manning

SNMP community

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

An SNMP community is a logical group of SNMP managers and agents that share authentication parameters.

An SNMP community groups managers and agents that share a community string, which acts as a password in SNMPv1 and SNMPv2c. Read-only (RO) permits Get, GetNext, and GetBulk requests; read-write (RW) also permits Set requests. section 6.3.1

Configure and control communities on Cisco IOS with:

  • snmp-server community password123 RO — accepts read requests using the RO string. section 6.3.1
  • snmp-server community password456 RW — accepts read and write requests using the RW string. section 6.3.1
  • Append an ACL to restrict which NMS sources may use each community. section 6.3.1

Allowing notifications

Use snmp-server enable traps to enable Trap messages, then configure snmp-server host 192.168.1.10 version 2c password789 to identify the NMS and community string receiving Traps or Informs. section 6.3.1 section 6.4

Figure 6.8 The difference between read-only (RO) and read-write (RW) community strings. NMS1 provides the RO string, so its Get (1) succeeds, but its Set (2) fails. NMS2 provides the RW string, so its Get (3) and Set (4) both succeed.

Compare how RO and RW strings permit or reject Get and Set operations. section 6.3.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines RO and RW behavior, shows Cisco IOS commands, and adds ACL and notification configuration.
Examples
Uses Cisco IOS RO and RW commands, ACL-qualified communities, and an SNMPv2c Trap destination.
What it assumes
Assumes SNMP manager, agent, and request terminology while defining community strings and RO/RW permissions explicitly.
What you can do after
Apply it via Cisco IOS commands to permit reads, control writes, restrict sources, and send notifications.
How it connects
Connects SNMP managers and agents with community strings, Get, Set, ACLs, Traps, Informs, and SNMP versions.

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.