Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaNetInterface


NAME
Get-NaNetInterface

SYNOPSIS
Output the current configuration for one interface.

SYNTAX
Get-NaNetInterface [[-Name] <String>] [-Controller <NaController>] [<CommonP
arameters>]


DESCRIPTION
Output the current configuration for one interface.


PARAMETERS
-Name <String>
The interface to display. If not provided, all interfaces will be displ
ayed. 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
NetApp.Ontapi.Filer.Net733.InterfaceConfigInfo


NOTES


Category: net
API: net-ifconfig-get

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

C:\PS>Get-NaNetInterface e0b


Display the current configuration for interface 'e0b'.


Aliases : {10.10.10.22}
DadAttempts : 5
Flowcontrol : full
InterfaceName : e0b
IpspaceName : default-ipspace
IsEnabled : True
IsNfoEnabled : False
IsTrusted : True
IsWinsEnabled : False
MacAddress : 00:a0:98:06:c2:26
Mediatype : auto-unknown-down
Mtusize : 1200
Partner : e0b
V4PrimaryAddress : 10.10.10.10
V6PrimaryAddress : 3ffe:1900:4545:3:200:f8ff:fe21:67cf
DadAttemptsSpecified : True
IsEnabledSpecified : False
IsNfoEnabledSpecified : False
IsTrustedSpecified : False
IsWinsEnabledSpecified : True
MtusizeSpecified : True



RELATED LINKS
Set-NaNetInterface







 Data ONTAP® PowerShell Toolkit