< Back
Get-NsxEdgeSubInterface
Post
NAME Get-NsxEdgeSubInterface
SYNOPSIS
Retrieves the subinterface configuration for the specified interface
SYNTAX
Get-NsxEdgeSubInterface -Interface <XmlElement> [[-Name] <String>] [<CommonParameters>]
Get-NsxEdgeSubInterface -Interface <XmlElement> -Index <Int32> [<CommonParameters>]
DESCRIPTION
NSX ESGs can host up to 10 interfaces and up to 200 subinterfaces, each of which
can be configured with multiple properties.
ESGs support interfaces connected to either VLAN backed port groups or NSX
Logical Switches.
Use Get-NsxEdgeSubInterface to retrieve the subinterface configuration of an
interface.
PARAMETERS
-Interface <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Index <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get an NSX Subinterface called sub1 from any interface on ESG Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeInterface |
Get-NsxEdgeSubInterface "sub1"
RELATED LINKS
SYNOPSIS
Retrieves the subinterface configuration for the specified interface
SYNTAX
Get-NsxEdgeSubInterface -Interface <XmlElement> [[-Name] <String>] [<CommonParameters>]
Get-NsxEdgeSubInterface -Interface <XmlElement> -Index <Int32> [<CommonParameters>]
DESCRIPTION
NSX ESGs can host up to 10 interfaces and up to 200 subinterfaces, each of which
can be configured with multiple properties.
ESGs support interfaces connected to either VLAN backed port groups or NSX
Logical Switches.
Use Get-NsxEdgeSubInterface to retrieve the subinterface configuration of an
interface.
PARAMETERS
-Interface <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Index <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get an NSX Subinterface called sub1 from any interface on ESG Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeInterface |
Get-NsxEdgeSubInterface "sub1"
RELATED LINKS