< Back

New-NsxEdgeSubInterfaceSpec

Sat Jan 18, 2020 9:16 pm

NAME New-NsxEdgeSubInterfaceSpec



SYNOPSIS

Creates a new NSX Edge Service Gateway SubInterface Spec.





SYNTAX

New-NsxEdgeSubInterfaceSpec -Name <String> -TunnelId <Int32> [-PrimaryAddress <String>] [-SubnetPrefixLength

<String>] [-SecondaryAddresses <String[]>] [-MTU <Int32>] [-EnableSendICMPRedirects] [-Connected]

[<CommonParameters>]



New-NsxEdgeSubInterfaceSpec -Name <String> -TunnelId <Int32> [-Network <Object>] [-PrimaryAddress <String>]

[-SubnetPrefixLength <String>] [-SecondaryAddresses <String[]>] [-MTU <Int32>] [-EnableSendICMPRedirects]

[-Connected] [<CommonParameters>]



New-NsxEdgeSubInterfaceSpec -Name <String> -TunnelId <Int32> [-VLAN <Int32>] [-PrimaryAddress <String>]

[-SubnetPrefixLength <String>] [-SecondaryAddresses <String[]>] [-MTU <Int32>] [-EnableSendICMPRedirects]

[-Connected] [<CommonParameters>]





DESCRIPTION

NSX ESGs can host up to 10 interfaces and up to 200 subinterfaces, each of which

can be configured with multiple properties. In order to allow creation of

ESGs with an arbitrary number of interfaces, a unique spec for each

interface required must first be created.



ESGs support Subinterfaces that specify either VLAN ID (VLAN Type) or NSX

Logical Switch/Distributed Port Group (Network Type).





PARAMETERS

-Name <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TunnelId <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Network <Object>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-VLAN <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-PrimaryAddress <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SubnetPrefixLength <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecondaryAddresses <String[]>



Required? false

Position? named

Default value @()

Accept pipeline input? false

Accept wildcard characters? false



-MTU <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-EnableSendICMPRedirects [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connected [<SwitchParameter>]



Required? false

Position? named

Default value True

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





RELATED LINKS