Penguin
Annotated edit history of snmpset(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SNMPSET
2 !!!SNMPSET
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 SEE ALSO
7 ----
8 !!NAME
9
10
11 snmpset - communicates with a network entity using SNMP SET Requests.
12 !!SYNOPSIS
13
14
15 snmpset [[ common arguments ] objectID type value [[objectID
16 type value]...
17 !!DESCRIPTION
18
19
20 Snmpset is an SNMP application that uses the SET Request to
21 set information on a network entity. One or more fully
22 qualified object identifiers must be given as arguments on
23 the command line. A type and a value to set must accompany
24 each object identifier. Each variable name is given in the
25 format specified in variables(5).
26
27
28 The ''type'' is a single character, one of:
29
30
31 __i__
32
33
34 INTEGER
35
36
37 __u__
38
39
40 UNSIGNED
41
42
43 __s__
44
45
46 STRING
47
48
49 __x__
50
51
52 HEX STRING
53
54
55 __d__
56
57
58 DECIMAL STRING
59
60
61 __n__
62
63
64 NULLOBJ
65
66
67 __o__
68
69
70 OBJID
71
72
73 __t__
74
75
76 TIMETICKS
77
78
79 __a__
80
81
82 IPADDRESS
83
84
85 __b__
86
87
88 BITS
89
90
91 If you have the proper MIB file loaded, you can, in most
92 cases, replace the type with an '=' sign. For an object of
93 type OCTET STRING this will assume a string like the 's'
94 type notation. For other type it will do
95
96
97 For example
98
99
100 ''snmpset test-hub private system.sysContact.0 s
101 dpz@noc.rutgers.edu ip.ipforwarding.0 = 2''
102
103
104 will set the variables sysContact.0 and
105 ipforwarding.0:
106
107
108 ''system.sysContact.0 =''
109 ''
110 ip.ipForwarding.0 = not-forwarding(2)''
111
112
113 If the network entity has an error processing the request
114 packet, an error packet will be returned and a message will
115 be shown, helping to pinpoint in what way the request was
116 malformed. If there were other variables in the request, the
117 request will be resent without the bad
118 variable.
119 !!SEE ALSO
120
121
122 snmpcmd(1), variables(5).
123 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.