Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Invoke-NaSnmpWalk


NAME
Invoke-NaSnmpWalk

SYNOPSIS
This cmdlet walks the SNMP MIB starting from the given OID.

SYNTAX
Invoke-NaSnmpWalk [-OID] <String> [-Raw] [-Controller <NaController>] [<Comm
onParameters>]


DESCRIPTION
This cmdlet walks the SNMP MIB starting from the given OID. This is a conve
nience method, not a high-performance SNMP query tool.


PARAMETERS
-OID <String>
Fully qualified object identifier of an SNMP object. Only numeric OID's
(ex: .1.3.6.1.4.1.789.1.1.1.0) are allowed.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Raw
Specify Raw to get string values. Otherwise, a hashtable is written to
the output for each OID.

Required? false
Position? named
Default value
Accept pipeline input? false
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, snmp-get-next

-------------- Example 1 --------------

C:\PS>Invoke-NaSnmpWalk -Raw


Walk the SNMP MIB starting from the given OID.


.1.3.6.1.4.1.789.1.1.1.0 2
.1.3.6.1.4.1.789.1.1.2.0 NetApp Release 7.3.1: Thu Jan 8 01:17:51 PS
T 2009
.1.3.6.1.4.1.789.1.1.3.0 0118044195
.1.3.6.1.4.1.789.1.1.4.0 1
.1.3.6.1.4.1.789.1.1.5.0 FAS3040
.1.3.6.1.4.1.789.1.1.6.0 2.0.0
.1.3.6.1.4.1.789.1.1.7.0 https://10.61.167.60:443/na_admin
.1.3.6.1.4.1.789.1.1.8.0 https://10.61.167.60:443/servlets/netapp.ser
vlets.admin.XMLrequest_filer
.1.3.6.1.4.1.789.1.1.9.0 1086295
.1.3.6.1.4.1.789.1.1.10.0 unknown
.1.3.6.1.4.1.789.1.1.11.0 5
.1.3.6.1.4.1.789.1.1.12.0 Trap variable currrently unsused.
.1.3.6.1.4.1.789.1.1.13.0 FAS3040
.1.3.6.1.4.1.789.1.2.1.1.0 197285100
.1.3.6.1.4.1.789.1.2.1.2.0 2123552
.1.3.6.1.4.1.789.1.2.1.3.0 1
.1.3.6.1.4.1.789.1.2.1.4.0 195161583
...



RELATED LINKS
Invoke-NaSnmpGet
Invoke-NaSnmpGetNext







 Data ONTAP® PowerShell Toolkit