The community read cipher command configures an SNMP test instance to carry a read community name in NQA packets.
The undo community command restores the default configuration.
By default, an SNMP test instance carries the public read community name in NQA packets.
Parameter | Description | Value |
---|---|---|
community-name |
Specifies a community name. |
The value is a case-sensitive string without metacharacters, such as spaces or question marks. The value ranges from 1 to 32 characters in plaintext and 32 to 168 characters in ciphertext. The character string can contain spaces if it is enclosed with double quotation marks (" "). |
Usage Scenario
A read community name uniquely identifies a community, a collection of the NMS and SNMP agents, and is used for communication authentication. The NMS and SNMP agents can communicate only if they have the same read community name. To configure an SNMP test instance to carry a read community name in NQA packets, run the community read cipher command.
If a target SNMP agent runs SNMPv1 or SNMPv2c, the read community name specified in the community read cipher command must be the same as the read community name configured on the SNMP agent. Otherwise, the SNMP test will fail.Prerequisites
An SNMP test instance has been configured using the nqa and test-type commands.