< Back
Remove-NsxEdgeSubInterface
Post
NAME Remove-NsxEdgeSubInterface
SYNOPSIS
Removes the specificed subinterface from an NSX Edge Services Gateway
interface.
SYNTAX
Remove-NsxEdgeSubInterface [-Subinterface] <XmlElement> [-Confirm] [[-Connection] <PSObject>] [<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 Remove-NsxEdgeSubInterface to remove a subinterface configuration from
and ESG trunk interface.
PARAMETERS
-Subinterface <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
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 a subinterface and then remove it.
PS C:\\> $interface = Get-NsxEdge $name | Get-NsxEdgeInterface "vNic3"
PS C:\\> $interface | Get-NsxEdgeSubInterface "sub1" | Remove-NsxEdgeSubinterface
RELATED LINKS
SYNOPSIS
Removes the specificed subinterface from an NSX Edge Services Gateway
interface.
SYNTAX
Remove-NsxEdgeSubInterface [-Subinterface] <XmlElement> [-Confirm] [[-Connection] <PSObject>] [<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 Remove-NsxEdgeSubInterface to remove a subinterface configuration from
and ESG trunk interface.
PARAMETERS
-Subinterface <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
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 a subinterface and then remove it.
PS C:\\> $interface = Get-NsxEdge $name | Get-NsxEdgeInterface "vNic3"
PS C:\\> $interface | Get-NsxEdgeSubInterface "sub1" | Remove-NsxEdgeSubinterface
RELATED LINKS