Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for snmptable (redhat section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SNMPTABLE(1)				     Net-SNMP				     SNMPTABLE(1)

       snmptable - obtain and print an SNMP table

       snmptable [COMMON OPTIONS] TABLE-OID

       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.

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

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

       -Cf STRING
	       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 lines.

       -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.

       In addition to these options, snmptable takes the common options  described  in	the  snm-
       pcmd(1) manual page.

       $ snmptable localhost public at.attable

       SNMP table: at.atTable

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

       $ snmptable localhost public -Cf + at.attable

       SNMP table: at.atTable

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

       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).

4th Berkeley Distribution		   08 Feb 2002				     SNMPTABLE(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:59 AM.