Content-type: text/html Man page of GETNEXT

GETNEXT

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

NAME

getnext - retrieve one variable's value from a SNMP entity  

SYNOPSIS

getnext agent_addr clustername variables
 

DESCRIPTION

The getnext utility is a SNMP application to retrieve the lexicographically "next" value after the specified variable from a SNMP entity using a getnext request.

The arguments to getnext are

agent_addr:
address of machine running SNMP agent.
clustername:
either a SNMPv1 community string or a SNMPv2 party clustername.
variables:
one or more variables to retrieve.
Variables may be in name form, number form, or as they appear in the MIB document.
 

EXAMPLES

The request

getnext myagent public sysDescr snmp

or

getnext myagent Mgr1Agt1 sysDescr snmp

would return the variables sysDescr.0 snmpInPkts.0, but the call

getnext myagent public snmpInPkts.0

or

getnext myagent Mgr1Agt1 snmpInPkts.0

would return snmpOutPkts.0, the "next" variable after snmpInPkts.0.  

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

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

LIMITATIONS

If any one of the variables in the list is a mal-formed OID, nothing will be sent out, and an error will be displayed.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO
LIMITATIONS

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