When attempting to add a physical network device (such as a Cisco Nexus 9k switch) as an SNMPv3 data source via the VCF Operations for Networks GUI, the connection fails.
Users will observe the following symptoms:
The UI displays the error message: Cisco N9K: SNMP connection error.
Manual SNMP polling directly from the Collector's CLI using snmpget or snmpwalk with the -a SHA-512 parameter is completely successful.
The collector logs show the following error signature indicating a dropped packet/empty response:
ERROR collector [class="common.snmp.SNMPHelper" ... ] Failed in testing connection to address=<IP_ADDRESS>/161 ...
java.lang.RuntimeException: error in snmp get (null resp pdu)
at com.vnera.dataproviders.core.common.snmp.SNMPHelper.get(SNMPHelper.java:316)
VCF Operations for Networks 9.x
This issue is caused by an SNMPv3 authentication protocol mismatch between the target device and the application capabilities.
The target physical switch is configured to require SHA-512 (part of the SHA-2 suite) for SNMP authentication. However, in the VCF Operations for Networks UI, the authentication protocol dropdown option labeled "SHA" strictly corresponds to the SHA-1 (160-bit) standard.
Because the application sends a SHA-1 hash while the device expects a SHA-512 hash, the switch drops the request as unauthenticated. The application consequently receives no response, generating the null resp pdu error.
Currently, the VCF Operations for Networks UI does not support the extended SHA-2 suite (SHA-256/512) for SNMPv3 authentication.
To successfully integrate the data source, the physical device configuration must be aligned with the application's supported protocols:
Access the configuration interface or CLI of the target network device.
Modify the SNMPv3 user/group authentication protocol from SHA-512 to SHA-1.
In the VCF Operations for Networks UI, ensure the Authentication Type is set to SHA.
Re-enter the credentials and submit the data source.
Security Best Practice: To maintain a strong security posture while using SHA-1 for authentication, it is highly recommended to configure strong Privacy (Encryption) using AES protocols. This ensures the actual data payload remains encrypted in transit.
Feature Requests: If your organization has strict compliance requirements mandating SHA-512 for management traffic, please submit a feature request to Product Management to expedite support in a future release: Submit a VMware Feature Request