1. The SNMPv2c function must be enabled on the storage device as it is disabled by default. Run the show snmp version command to check whether it is enabled. If not, run the change snmp version v1v2c_switch=on function to enable the function.
2. Run the change snmp community read_community=XXXXXX write_community=XXXXXX command to configure read and write community strings on the storage device. The read and write community strings cannot be the same.
3. Prepare the snmpwalk tool on eSight. If eSight is installed on a Windows server, you can download the uMate package and decompress it to obtain snmpwalk.
4. Switch to the directory where snmpwalk is located and run the following command to obtain the OID information. If the OID information can be obtained, the link between eSight and the storage device is connected and parameters are correct.
The instructions for using the snmpwalk tool are as follows:
The command is snmpwalk [option] agent [oid], where:
1. Common options
a) –h: shows help.
b) –v 1|2c|3: specifies the SNMP version.
c) –V: shows the current command-line version of snmpwalk.
d) –r RETRIES: specifies the maximum of retry attempts. The default value is 0.
e) –t TIMEOUT: specifies the timeout duration of waiting for each request. The unit is second and the default value is 3 seconds.
f) –Cc: specifies whether to continue the walk when the returned OIDs are decreasing.
2. V1 and V2C options
a) –c COMMUNITY: specifies the community string.
3. V3 options
a) –l LEVEL: specifies the security level. The value is noAuthNoPriv|authNoPriv|authPriv.
b) –u USER-NAME: indicates the security name.
c) –a PROTOCOL indicates an authentication protocol: MD5|SHA. This option is required only when -l is set to authNoPriv or authPriv.
d) –A PASSPHRASE indicates the verification character string. This option is required only when -l is set to authNoPriv or authPriv.
e) –x PROTOCOL indicates the encryption protocol: DES. This option is required only when -l is set to authPriv.
f) –X PASSPHRASE indicates the encrypted character string. This option is required only when -l is set to authPriv.