Annotated edit history of
snmptable(1) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SNMPTABLE |
|
|
2 |
!!!SNMPTABLE |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
EXAMPLES |
|
|
7 |
BUGS |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
snmptable - obtain and print an SNMP table |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
snmptable [[common arguments] [[options] tableID |
|
|
18 |
!!DESCRIPTION |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
Snmptable is an SNMP application that uses the GETNEXT |
|
|
22 |
Request to query for information on a network entity. The |
|
|
23 |
''tableID'' must specify an SNMP table. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
''snmptable'' has the following special |
|
|
27 |
options: |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
-Cf F |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
''F'' is a string used to separate table columns. With |
|
|
34 |
this option, each table entry will be printed in compact |
|
|
35 |
form, just with the string given to separate the columns |
|
|
36 |
(useful if you want to import it into a database). Otherwise |
|
|
37 |
it is printed in nicely aligned columns. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
-Cw W |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
''W'' specifies the width of the lines when the table is |
|
|
44 |
printed. If the lines will be longer, the table will be |
|
|
45 |
printed in sections of max ''W'' characters. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
-Ci |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
this option prepends the index of the entry to all printed |
|
|
52 |
lines |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
-Cb |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
brief heading. Any common prefix of the table field names |
|
|
59 |
will be deleted |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
-CB |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
don't use GETBULK requests to retrieve data, only |
|
|
66 |
GETNEXT |
|
|
67 |
!!EXAMPLES |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
$ snmptable localhost public at.attable |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
SNMP table: at.atTable |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
atIfIndex atPhysAddress atNetAddress 1 8:0:20:20:0:ab |
|
|
77 |
130.225.243.33 |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
$ snmptable localhost public -Cf + at.attable |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
SNMP table: at.atTable |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
atIfIndex+atPhysAddress+atNetAddress |
|
|
87 |
1+8:0:20:20:0:ab+130.225.243.33 |
|
|
88 |
!!BUGS |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
The test for tableID actually specifying a table is rather |
|
|
92 |
heuristic. Note also, that the test requires the defining |
|
|
93 |
MIB file to be loaded. |
|
|
94 |
!!SEE ALSO |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
snmpcmd(1), variables(5). |
|
|
98 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.