EasyManua.ls Logo

Oce PRISMAproduction - Modifying Individual MIB Elements Using the Command Snmpset

Oce PRISMAproduction
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PRISMAproduction Network Functions PRISMA SNMP Interface
A29247-X2-X-8-7670 229
7.2.3 Modifying Individual MIB Elements Using the Command snmpset
Provided it has the ACCESS attribute READ-WRITE, an MIB element can be modified us-
ing the Caldera Linux "snmpset" command.
The "snmpset" command has the following syntax:
snmpset [ options... ] entity_addr community variable type value [
variable type value] ...
The entity_addr, the community and the variable paramters fulfil the same functions as
those preceding the "snmpget" command. There are also a lot of options, but normally no
option is needed. The type set for the penultimate parameter (i, u, t, a, o, s, x, d, n) deter-
mines the format of the value parameter (see following table):
For more information on the syntax see the help text, when typing snmpset without any
parameters or type
man snmpset
For the command to function correctly, a few other requirements have to be fulfilled:
The SNMP agent implements the SET-PDU type for this element
2
.
Parameter ASN.1 type Example
i Integer setany localhost public svrServerStatus.0 i 2
u Unsigned In-
teger
... u 2
t time ticks ... t 1000
a IP address ... a 160.120.13.178
o object ID ... o 1.3.6.1.4.1.1552.102.104.1.1.1.3.0
s display string ... s Hercules
x Hex string ... x 00ff00ff
d Decimal
string
... d 3567
U Unsigend
int64
... U 235645259636
I Signed int64 ... I -987362476526
F float ... F 13.78
D double ... D 568.565753275757

Table of Contents

Other manuals for Oce PRISMAproduction