![background image](http://html2.mh-extra.com/html/oce/prismaproduction/prismaproduction_user-manual_3212102241.webp)
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
Summary of Contents for PRISMAproduction
Page 1: ...Oc Oc User Guide Oc PRISMAproduction Server V3 02 APA Module...
Page 4: ...A29247 X2 X 8 7670...
Page 5: ...Index...
Page 6: ...A29247 X2 X 8 7670...
Page 116: ...Messages PRISMAproduction Explorer 104 A29247 X3 X 6 7670 An answered question looks like this...
Page 148: ...Directory Viewer PRISMAproduction Explorer 136 A29247 X3 X 6 7670...
Page 224: ...TicketRules Configuration 212 A29247 X6 X 6 7670...
Page 235: ...PRISMAproduction Network Functions PRISMA SNMP Interface A29247 X2 X 8 7670 223...
Page 316: ...PJM in Command Line Mode Print Job Manager 304 A29247 X3 X 6 7670...
Page 336: ...PRISMA Command Line Tools Command Line Interface 324 A29247 X2 X 8 7670...
Page 340: ...Linedata 328 A29247 X2 X 8 7670...