question

Allan avatar image
Allan asked Allan answered

Can snmp set multiple MIB variables in one time ?

![alt text][1]I want to create an empty entry in private MIB, the status field only support createAndGo, not support createAndWait. In other SNMP tools, I can use set all command to set all OID to add entry. Does iTest support one set command to binding multiple OID ? [1]: /storage/temp/3425-snmp_set_all.jpg
iTestsnmp
snmp_set_all.jpg (149.4 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
udaya avatar image
udaya answered udaya edited
No, in current iTest design, setting value for multiple OIDs we can't do with just a single set command. Now iTest MIB browser divides the set command section into two parts first part is OID and rest all as value. To achieve your aspect now, you can define all OIDs in one list and values in another list. (NOTE OID and value sequence should be maintained). Then we can use a foreach loop to set all values.
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Allan avatar image Allan commented ·
This can not solve my issue. My issue is both two OID are empty, the first OID can be set only if second OID exist, and vice-versa. Waiting for iTest to support to set multiple OID in one command.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.