Configuring Access Control for Communities
Use the following configuration statements to configure community strings for traditional access control:
snmp community community {authorization (read-only|read-write);clients clients;oid oid;}To configure community strings:
- From configuration mode, access the configuration statement that configures the community string. Community names must be unique.
[edit]user@host# edit snmp community community- (Optional) Specify the authorization level.
[edit snmp community community]user@host# set authorization read-onlyTo specify read and write access:
[edit snmp community community]user@host# set authorization read-write