Previous Topic: dpmhyperv ShowVMSCSIControllers Command--Show all SCSI ControllersNext Topic: dpmhyperv ValidateServerAccess Command--Check Server Access


dpmhyperv ValidateAgentSNMPAccess Command--Validate SNMP Access to an Agent

The dpmhyperv ValidateAgentSNMPAccess command validates whether an agent can be accessed using SNMP community string.

This command has the following format:

dpmhyperv ValidateAgentSNMPAccess 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] 
-hypervHost hostname 
-snmpAccessName snmp_name -checkWriteAccess write_access 
[-pre] 
[-post]
[-locale iso639value]
-ws_user username

(Optional) Specifies the CA Virtual Assurance user name.

-ws_password password

(Optional) Specifies the CA Virtual Assurance user password.

-ws_encrypted_password

(Optional) Indicates whether the CA Virtual Assurance password is encrypted.

-host hostname

Specifies the host name of the Hyper-V server.

-snmpAccessName snmp_name

Specifies the SNMP community string.

-checkWriteAccess write_access

Specifies whether to select write access.

-pre

(Optional) Generates an event before the operation is complete.

-post

(Optional) Generates an event after the operation is complete.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Validate SNMP Access to an Agent

This example validates SNMP access to the host, "hserver."

dpmhyperv ValidateAgentSNMPAccess -hypervHost hserver -snmpAccessName public -checkWriteAccess -ws_user admin -ws_password #test#