|
|
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 ifTypeName: 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