Content-type: text/html Man page of GETTAB

GETTAB

Section: Misc. Reference Manual Pages (SR_CMDMAN)
Updated: 23 July 1993
Index Return to Main Contents
 

NAME

gettab - utility for table retrieval from an SMP entity  

SYNOPSIS

gettab agent_addr clustername table_name
 

DESCRIPTION

The gettab utility is an SNMP application that retrieves an entire table using the awesome getbulk operator, or if it's a trivial get, it getnext and uses parts of the response for the next request.

The options to gettab are the

agent_addr:
address of machine running the SNMP agent.
clustername:
either a SNMPv1 community string or a SNMPv2 clustername.
table_name
the table name expressed as object identifiers in either dot-notation or as the MIB-variables as they appear in the MIB document.

The gettab utility retrieves chunks of the table with each request and uses part of the response to form the next request. For instance, running the following:

gettab myagent Mgr1Agt1 ifTable


 or

gettab myagent woof ifTable

would retrieve the interface table.  

EXAMPLES

For SNMPv1 table requests:
gettab agent_addr community table_name

where table_name is the name of a table. Some valid SNMPv1 table names are:


 atTable         ipRouteTable
 egpNeighTable   ipNetToMediaTable
 ifTable         tcpConnTable
 ipAddrTable     udpTable

For SNMPv2 table requests:


 gettab agent_addr clustername table_name 

where table_name is the name of a table. Some valid SNMPv2 table names are:


 ifTable                 partyTable
 atTable                 contextTable
 ipAddrTable             aclTable
 ipRouteTable            viewTable
 ipNetToMediaTable       snmpORTable
 tcpConnTable            snmpTrapTable
 udpTable                snmpEventTable
 egpNeighTable           snmpAlarmTable
         snmpEventNotifyTable
 

FILES


 /etc/srconf/mgr/acl.pty
 /etc/srconf/mgr/context.pty
 /etc/srconf/mgr/mgr.cnf
 /etc/srconf/mgr/mgr.pty
 /etc/srconf/mgr/snmpinfo.dat
 /etc/srconf/mgr/view.pty  

SEE ALSO

getbulk(SR_CMDMAN), getmany(SR_CMDMAN), getnext(SR_CMDMAN), getone(SR_CMDMAN), SNMP RFCs (RFC1155 RFC1157 RFC1212 RFC1213 RFC1215, RFCs 1441-1452)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:43:00 GMT, October 02, 2010