Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setany(1M) — Network Services Extension Release 3.2 Version 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getmany(1M)

getone(1M)

getnext(1M)

snmp(1M)

setany(1M)  —  ADMINISTRATOR COMMANDS

NAME

setany - program to retrieve and set variables in an SNMP entity. 

SYNOPSIS

setany entity_addr "community_name" ["variable name" −<i/o/d/a/c/g/t> 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’, or ’t’ 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, or time-ticks, followed by the value.  For example:

setany 128.169.1.1 suranet0 "ifAdminStatus.2" -i 3

to set 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(1M), getone(1M), getnext(1M), snmp(1M), RFC 1155, RFC 1156, RFC 1157

SNMP 2.0

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026