version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SNMPTEST |
|
|
2 |
!!!SNMPTEST |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
snmptest - communicates with a network entity using SNMP Requests |
|
|
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
snmptest -v 1 hostname community |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
snmptest [[-v 2] hostname noAuth |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Snmptest is a flexible SNMP application that can monitor and |
|
|
23 |
manage information on a network entity. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
The ''hostname'' specification may be either a host name |
|
|
27 |
or an internet address specified in |
|
|
28 |
'' |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The version 1 and version 2c ''community'' specifies the |
|
|
32 |
community name for the transaction with the remote |
|
|
33 |
system. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
After invoking the program, a command line interpreter |
|
|
37 |
proceeds to accept commands. It will prompt |
|
|
38 |
with: |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
''Please enter the variable name:'' |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
At this point you can enter one or more variable names, one |
|
|
45 |
per line. A blank line is a command to send a request for |
|
|
46 |
each of the variables (in a single packet) to the remote |
|
|
47 |
entity. Each variable name is given in the format specified |
|
|
48 |
in variables(5). For example |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
''snmptest zeus zeusMS zeusAgent |
|
|
52 |
Variable: system.sysdescr.0 |
|
|
53 |
Variable:'' |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
Will return some information about the request and reply |
|
|
57 |
packets, as well as the information: |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
''system.sysDescr.0 ='' |
|
|
61 |
'' |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Upon startup, the program defaults to sending a GET Request |
|
|
65 |
packet. This can be changed to a GET NEXT Request or a SET |
|
|
66 |
Request by typing the commands |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
The command |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
The command |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
When in the |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
''Please enter variable type |
|
|
79 |
[[i|s|x|d|n|o|t|a]:'' |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
requests the type of the variable be entered. Type |
|
|
83 |
At this point a value will be prompted for: |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
''Please enter new value:'' |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
If this is an integer value, just type the integer (in |
|
|
90 |
decimal). If it is a string, type in white-space separated |
|
|
91 |
decimal numbers, one per byte of the string. Again type a |
|
|
92 |
blank line at the prompt for the variable name to send the |
|
|
93 |
packet. |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
At the variable name line, typing |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
Adding a |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
Adding a |
|
|
103 |
!!SEE ALSO |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
variables(5), RFC 1155, RFC1156, RFC1157, SNMP Security |
|
|
107 |
Internet Drafts |
|
|
108 |
---- |