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.
- (Optional) Specify the authorization level.
To specify read-only access:
To specify read and write access:
- Specify the IP address or subnet of the SNMP client hosts
that are authorized to use this community.
By default, all clients are allowed.
- (Optional) Specify the object identifier used to represent a subtree of MIB object to which access is allowed.
- (Optional) Verify your configuration.
[edit snmp community community] user@host# show
