SMARTS IP: How to enter SNMPv3 credentials via Command Line
book
Article ID: 332008
calendar_today
Updated On:
Products
VMware Smart Assurance
Environment
VMware Smart Assurance - SMARTS
Resolution
Inputting SNMP version 3 credentials (ie, authentication, user, community, etc) using the DMCTL commands via CLI.
The command to use for entering credentials for SNMPv3 is:
./dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager applyXMLSNMPV3Credentials <string>xmlFilters
Here is an example of the command:
./dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager applyXMLSNMPV3Credentials "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><FallBackSNMPv3Credentials><SNMPV3Credentials><SNMPV3Credential><User>desuser</User>
<AuthProtocol>MD5</AuthProtocol><AuthPass>changeme</AuthPass><PrivProtocol>DES</PrivProtocol>
<PrivPass>despass</PrivPass><EngineID>8000000903000019563F8338</EngineID><Context>ABC</Context>
</SNMPV3Credential><SNMPV3Credential><User>desuser2</User><AuthProtocol>MD5</AuthProtocol>
<AuthPass>changeme</AuthPass><PrivProtocol>DES</PrivProtocol><PrivPass>despass</PrivPass>
<EngineID>8000000913000019563F8338</EngineID><Context>ABC</Context></SNMPV3Credential>
</SNMPV3Credentials></FallBackSNMPv3Credentials>"
Additional Information
It may be necessary to issue this command from BASH
Feedback
thumb_up
Yes
thumb_down
No