|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcNetDeviceDiscovery
NAME
Get-NcNetDeviceDiscovery
SYNOPSIS
Get a list of network device discovery objects found by a discovery protocol
such as CDP or LLDP.
SYNTAX
Get-NcNetDeviceDiscovery [[-Node] <String[]>] [[-Port] <String[]>] [[-Device
] <String[]>] [[-Interface] <String[]>] [-Attributes <NetDeviceDiscoveryInfo
>] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcNetDeviceDiscovery -Template [-Controller <NcController[]>] [<CommonPa
rameters>]
Get-NcNetDeviceDiscovery -Query <NetDeviceDiscoveryInfo> [-Attributes <NetDe
viceDiscoveryInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get a list of network device discovery objects found by a discovery protocol
such as CDP or LLDP.
PARAMETERS
-Node <String[]>
One or more nodes on which the network port resides. Data ONTAP wildcar
ds are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Port <String[]>
One or more physical network port for device discovery (for example, e0a
). Data ONTAP wildcards are permitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Device <String[]>
One or more devices discovered by the physical network port. Data ONTAP
wildcards are permitted.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Interface <String[]>
. Data ONTAP wildcards are permitted.
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <NetDeviceDiscoveryInfo>
For improved scalability in large clusters, provide a NetDeviceDiscovery
Info object with various fields set to indicate which fields to return o
n all objects. Undesired fields should remain set to null. Use "Get-Nc
NetDeviceDiscovery -Template" to get the initially empty NetDeviceDiscov
eryInfo object. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty NetDeviceDiscoveryInfo object for use with advan
ced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <NetDeviceDiscoveryInfo>
For advanced queries, provide a NetDeviceDiscoveryInfo object with vario
us fields set to indicate which records to retrieve. Other fields shoul
d remain set to null. Use "Get-NcNetDeviceDiscovery -Template" to get t
he initially empty NetDeviceDiscoveryInfo object.
Required? true
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
DataONTAP.C.Types.Net.NetDeviceDiscoveryInfo
NOTES
Category: net
API: net-device-discovery-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcNetDeviceDiscovery
Get a list of network device discovery objects found.
DiscoveredDevice Node Interface Port
Platform Capabilities
---------------- ---- --------- ----
-------- ------------
nivi-vsim2 beam-vsim-sn1-01 e0b e0b
SIMBOX {host}
nivi-vsim2 beam-vsim-sn1-01 e0a e0b
SIMBOX {host}
nivi-vsim2 beam-vsim-sn1-01 e0b e0a
SIMBOX {host}
nivi-vsim2 beam-vsim-sn1-01 e0a e0a
SIMBOX {host}
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|