setany(ADMN) 19 June 1992 setany(ADMN) Name setany - program to retrieve and set variables in an SNMP entity Syntax setany entityaddr "communityname" ["variable name" -<i/o/d/a/c/g/t/s/n> value] ... Description setany does a GET request to get the current values of the variables to be set, then performs a SET request on the variables. The arguments are the entity name or address in internet dot notation, the community name for access to the SNMP entity, and a triplet for each variable to be set consisting of: the variable name in dot notation, an 'i', 'o', 'd', 'a', 'c', 'g', 't', 's', or 'n' preceded by a dash to indicate if the variable's value is being given as an integer, an octet string (in hex notation), an object identifier (in dot notation), an IP address (in dot notation), a counter, a gauge, time-tick, a string, or null followed by the value. For example: setany 128.169.1.1 suranet0 "ifAdminStatus.2" -i 3 This sets the administrative status of interface 2 to 3 (down). The actions that take place during a SET request are that a GET request is issued for the variable. The variable name returned from this request is used in the SET request. See also getmany(ADMN), getone(ADMN), getnext(ADMN), snmp(ADMN), RFC 1155, RFC 1156, RFC 1157, RFC 1213