Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Get-NaNetVlan


NAME
Get-NaNetVlan

SYNOPSIS
List VLANs in the active network configuration.

SYNTAX
Get-NaNetVlan [[-Name] <String>] [-Controller <NaController>] [<CommonParame
ters>]


DESCRIPTION
List VLANs in the active network configuration.


PARAMETERS
-Name <String>
The name of the VLAN to query. If not provided, all VLANs will be retri
eved. Wildcards are permitted.

Required? false
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
DataONTAP.Types.Net.VlanInfo


NOTES


Category: net
API: net-config-get-active

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

C:\PS>Get-NaNetVlan e0c*


List all VLANs on physical interface 'e0c'.


Interface ParentInterface Tag GVRP
--------- --------------- --- ----
e0c-10 e0c 10 True
e0c-20 e0c 20 True
e0c-30 e0c 30 True
e0c-40 e0c 40 True
e0c-50 e0c 50 True



RELATED LINKS
Add-NaNetVlan
Remove-NaNetVlan
Set-NaNetVlan







 Data ONTAP® PowerShell Toolkit