The community read cipher command configures the community name for SNMP test.
The undo community command deletes the community name of SNMP test.
By default, the community name for SNMP test is public.
Parameter | Description | Value |
---|---|---|
community-name | Specifies the community name for SNMP test. | The value is a string of case-sensitive characters
without command line characters such as spaces and question marks.
The length ranges from 1 to 32 for plain text and ranges from 32 to
68 for cipher text. NOTE:
When quotation marks
are used around the string, spaces are allowed in the string. |
Usage Scenario
A community, uniquely identified by a community name, defines administrative relationships between NMSs and SNMP agents. The community name acts like a password to regulate access to an SNMP agent. An NMS can access an SNMP agent only if the community name carried in the SNMP request sent by the NMS is the same as the community name configured on the SNMP agent.
When the SNMP versions on agents are SNMPv1 or SNMPv2c, the community name must be configured using the community read cipher command, and the community name must be a read-only community name on SNMP agents. When the SNMP versions on agents are SNMPv3, the community name does not need to be configured because SNMPv3 does not support community names.
Prerequisites
The NQA test instance has been configured using the nqa command, and the test instance type has been set to SNMP using the test-type command.