We have a question about V3 modeling through Spectrum Web Service API. For adding v1 and v2 models, we can use the "community string =" statement as part of the post. How does that work for v3?
When using the Spectrum Web Service API to model SNMPv3 devices, use the following format to specify the SNMPv3 community string for the "community string =" parameter:
The following is an example for default MD5 and DES:
NOTE: The default authentication and privacy algorithm are set in the $SPECROOT/SS/.vnmrc file:
The following is an example for SHA and AES:
You will have to encode the commstring value.
Go to any Site to encode a URL, example: https://meyerweb.com/eric/tools/dencoder/
Paste the commstring value.
Click on Encode button.
Replace the commstring value with the encoded output:
Note: For SNMPv3 profiles when there are special characters in the credentials (e.g. Pass/Word123) you need to replace the special characters with the encoded values. e.g.
For a commstring of #v3/P:SHA^Pass/Word123:AES^Pass/Word123//spectrum_lab_slash you need to use #v3/P:SHA^Pass/Word123:AES^Pass/Word123//spectrum_lab_slash
where / is encoded value for /
ASCII Encodings for special characters can be found here:
Please reference the "Manually Model an SNMPv3 Device" section of the documentation for more information.