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
