Penguin
Annotated edit history of snmpget(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SNMPGET
2 !!!SNMPGET
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 snmpget - communicates with a network entity using SNMP GET Requests.
13 !!SYNOPSIS
14
15
16 snmpget [[-Cf] [[ common arguments ] objectID
17 [[objectID]...
18 !!DESCRIPTION
19
20
21 Snmpget is an SNMP application that uses the GET Request to
22 query for information on a network entity. One or more fully
23 qualified object identifiers may be given as arguments on
24 the command line. Each variable name is given in the format
25 specified in variables(5).
26
27
28 For example
29
30
31 ''snmpget zeus public system.sysDescr.0''
32
33
34 will retrieve the variable system.sysDescr.0:
35
36
37 ''system.sysDescr.0 =''
38 ''
39
40
41 If the network entity has an error processing the request
42 packet, an error packet will be returned and a message will
43 be shown, helping to pinpoint in what way the request was
44 malformed. If there were other variables in the request, the
45 request will be resent without the bad
46 variable.
47 !!OPTIONS
48
49
50 -Cf
51
52
53 If -Cf is not specified, some applications (E.G., snmpget,
54 snmpgetnext, snmpwalk, etc) will try to fix errors returned
55 by the agent that you were talking to and resend the
56 request. The only time this is really useful is if you
57 specified a OID that didn't exist in your request and you're
58 using SNMPv1 which requires
59
60
61 snmpget -v 1 -Cf localhost public system.sysUpTime system.sysContact.0
62 Error in packet
63 Reason: (noSuchName) There is no such variable name in this MIB.
64 This name doesn't exist: system.sysUpTime
65 snmpget -v 1 localhost public system.sysUpTime system.sysContact.0
66 Error in packet
67 Reason: (noSuchName) There is no such variable name in this MIB.
68 This name doesn't exist: system.sysUpTime
69 system.sysContact.0 = root@localhost
70 With the -Cf specified the application will not try to fix the PDU for you.
71 !!SEE ALSO
72
73
74 snmpcmd(1), variables(5).
75 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.