|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Invoke-NaSnmpGetNext
NAME
Invoke-NaSnmpGetNext
SYNOPSIS
This is used to retrieve the next OID in the mib tree of data.
SYNTAX
Invoke-NaSnmpGetNext [-OID] <String> [-Controller <NaController>] [<CommonPa
rameters>]
DESCRIPTION
This is used to retrieve the next OID in the mib tree of data. Instead of re
turning the data you requested, it returns the next OID in the tree and its
value. Unlike Invoke-NaSnmpGet, this API does return data for an OID which i
s too short or is missing the index part of the OID. This is a convenience
method, not a high-performance SNMP query tool.
PARAMETERS
-OID <String>
Object Identifier of an SNMP object. The OID can be a fully qualified OI
D or a partial OID. Only numeric OID's (ex: .1.3.6.1.4.1.789.1.1.1.0) ar
e allowed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
System.Object
NOTES
Category: snmp
API: snmp-get-next
-------------- Example 1 --------------
C:\PS>Invoke-NaSnmpGetNext 1.3.6.1.4.1.789.1.1.2.0
Get the OID and value that follows the supplied OID.
NextObjectId : .1.3.6.1.4.1.789.1.1.3.0
Value : 0118044195
IsValueHexadecimal :
RELATED LINKS
Invoke-NaSnmpGet
Invoke-NaSnmpWalk
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|