System Management Guide SNMP 
Edition: 01 3HE 11018 AAAC TQZZA 201
 
4.7 Configuring SNMP Components
Use the CLI syntax displayed below to configure the following SNMP scenarios:
• Configuring a Community String
• Configuring View Options
• Configuring Access Options
• Configuring USM Community Options
• Configuring Other SNMP Parameters
CLI Syntax: config>system>security>snmp
access group group-name security-model security-
model security-level security-level [context 
context-name [prefix-match]] [read view-name-1] 
[write view-name-2] [notify view-name-3]
attempts [count] [time minutes1] [lockout minutes2]
community community-string [hash | hash2] access-
permissions [version SNMP-version]
usm-community community-string [hash | hash2] group 
group-name
view view-name [subtree oid-value]
mask mask-value [type {included | excluded}]
4.7.1 Configuring a Community String
SNMPv1 and SNMPv2c community strings are used to define the relationship 
between an SNMP manager and agent. The community string acts like a password 
to permit access to the agent. The access granted with a community string is 
restricted to the scope of the configured group. 
One or more of the following characteristics associated with the string can be 
specified:
• read-only, read-write, and read-write-all permission for the MIB objects 
accessible to the community
• assignment of a unique community string to the management router or 
management VPLS
• the SNMP version: SNMPv1, SNMPv2c, or both
Default access features are preconfigured by the agent for SNMPv1 and SNMPv2c.