|
The setTableValue example is used to set the value of a particular cell of the table.
Source
Refer the source code of the setTableValue example present in <examples/applications/setTableValue.java> for more information.
Usage
The usage of the setTableValue example is provided below. The "-d" option enables the debug and prints the packet dumps. The "host", "tableOID", "MIB_files", "row index" and the "columnIndex" arguments are mandatory and the rest are optional.
setTableValue [-v version(v1,v2,v3)] [-c community] [ -p port] [-t timeout] [-r retries] [-u user] [-a auth_protocol(MD5/SHA)] [-w auth_password ] [-pp privProtocol(DES/AES-128/AES-192/AES-256/3DES)] [-s priv_password] [-n contextname] [-i contextID] [-d debug] host tableOID MIB_files rowIndex columnIndex
Example Command
java setTableValue localhost ../../mibs/agent-sample-mib.txt forwardingTable value 0 1
|