snmptable - retrieve an SNMP table and display it in tabular form


   snmptable  [COMMON  OPTIONS] [-Cb] [-CB] [-Ch] [-CH] [-Ci] [-Cf STRING]


   snmptable is an SNMP application that repeatedly uses the SNMP  GETNEXT
   or  GETBULK requests to query for information on a network entity.  The
   parameter TABLE-OID must specify an SNMP table.

   AGENT identifies a target SNMP agent, which is instrumented to  monitor
   the  given  objects.   At  its  simplest,  the AGENT specification will
   consist of a hostname or an  IPv4  address.   In  this  situation,  the
   command  will  attempt  communication with the agent, using UDP/IPv4 to
   port 161 of the given target host. See snmpcmd(1) for a  full  list  of
   the possible formats for AGENT.


           Please  see snmpcmd(1) for a list of possible values for COMMON
           OPTIONS as well as their descriptions.

   -Cb     Display only a brief heading. Any common prefix  of  the  table
           field names will be deleted.

   -CB     Do not use GETBULK requests to retrieve data, only GETNEXT.

   -Cc CHARS
           Print table in columns of CHARS characters width.

           The string STRING is used to separate table columns.  With this
           option, each table entry will be printed in compact form,  just
           with  the  string  given to separate the columns (useful if you
           want to import it into a database).  Otherwise it is printed in
           nicely aligned columns.

   -Ch     Display only the column headings.

   -CH     Do not display the column headings.

   -Ci     This  option  prepends  the  index  of the entry to all printed

   -Cl     Left justify the data in each column.

           For GETBULK requests,  REPEATERS  specifies  the  max-repeaters
           value  to  use.   For GETNEXT requests, REPEATERS specifies the
           number of entries to retrieve at a time.

   -Cw WIDTH
           Specifies the width of the lines when the table is printed.  If
           the lines will be longer, the table will be printed in sections
           of at most WIDTH characters.  If WIDTH is less than the  length
           of  the  contents  of  a single column, then that single column
           will still be printed.

   Note that snmptable REQUIRES  an argument specifying the agent to query
   and  exactly  one  OID  argument, as described in the snmpcmd(1) manual
   page.  This OID must be that of a MIB table object.


   $ snmptable -v 2c -c public localhost at.atTable

   SNMP table: at.atTable RFC1213-MIB::atTable

   atIfIndex   atPhysAddress   atNetAddress
           1  8:0:20:20:0:ab

   $ snmptable -v 2c -c public -Cf + localhost at.atTable

   SNMP table: at.atTable

   atIfIndex+atPhysAddress+atNetAddress 1+8:0:20:20:0:ab+

   $ snmptable localhost -Cl -CB -Ci -OX -Cb -Cc 16 -Cw 64 ifTable

   SNMP table: ifTable

   Index           Descr           Type            Mtu
   Speed           PhysAddress     AdminStatus     OperStatus
   LastChange      InOctets        InUcastPkts     InNUcastPkts
   InDiscards      InErrors        InUnknownProtos OutOctets
   OutUcastPkts    OutNUcastPkts   OutDiscards     OutErrors
   OutQLen         Specific

   index: [1]
   1               lo              softwareLoopbac 16436
   10000000                        up              up
   ?               2837283786      3052466         ?
   0               0               ?               2837283786
   3052466         ?               0               0
   0               zeroDotZero

   index: [2]
   2               eth0            ethernetCsmacd  1500
   10000000        0:5:5d:d1:f7:cf up              up
   ?               2052604234      44252973        ?
   0               0               ?               149778187
   65897282        ?               0               0
   0               zeroDotZero


   The test for TABLE-OID actually specifying a table is rather heuristic.
   Note also that the test requires the defining MIB file to be loaded.


   snmpcmd(1), variables(5).


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.