DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring the Simple Network Management Protocol (SNMP)

Getting the next OID variable

The getnext(1Msnmp) command is used to retrieve the value of the variable that is lexically next to the given OID. The argument variable_name may be expressed either in dot-notation format or using an object name. The role of variable_name is somewhat different in getnext from that in other commands; it can refer either to an object instance ifType.1 or a variable class name ifType.

The syntax is getnext node community variable.

The following shows an example of getnext:

getnext example

   # getnext paris public ifType
   

Name: ifType.1 Value: 6

# getnext paris public ifType.1

Name: ifType.2 Value: 6

# getnext paris public ifType.2

Name: ifType.3 Value: 24

# getnext paris public ifType.3

Name: ifMtu.1 Value: 1500


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004