< Back
New-NsxAddressSpec
Post
NAME New-NsxAddressSpec
SYNOPSIS
Creates a new NSX Address Group Spec.
SYNTAX
New-NsxAddressSpec [-PrimaryAddress] <String> [-SubnetPrefixLength] <Int32> [[-SecondaryAddresses] <String[]>]
[<CommonParameters>]
DESCRIPTION
NSX ESGs and DLRs interfaces can be configured with multiple 'Address
Groups'. This allows a single interface to have IP addresses defined in
different subnets, each complete with their own Primary Address, Netmask and
zero or more Secondary Addresses.
In order to configure an interface in this way with PowerNSX, multiple
'AddressGroupSpec' objects can be created using New-NsxAddressSpec,
and then specified when calling New/Set cmdlets for the associated
interfaces.
PARAMETERS
-PrimaryAddress <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubnetPrefixLength <Int32>
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryAddresses <String[]>
Required? false
Position? 3
Default value @()
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
SYNOPSIS
Creates a new NSX Address Group Spec.
SYNTAX
New-NsxAddressSpec [-PrimaryAddress] <String> [-SubnetPrefixLength] <Int32> [[-SecondaryAddresses] <String[]>]
[<CommonParameters>]
DESCRIPTION
NSX ESGs and DLRs interfaces can be configured with multiple 'Address
Groups'. This allows a single interface to have IP addresses defined in
different subnets, each complete with their own Primary Address, Netmask and
zero or more Secondary Addresses.
In order to configure an interface in this way with PowerNSX, multiple
'AddressGroupSpec' objects can be created using New-NsxAddressSpec,
and then specified when calling New/Set cmdlets for the associated
interfaces.
PARAMETERS
-PrimaryAddress <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubnetPrefixLength <Int32>
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryAddresses <String[]>
Required? false
Position? 3
Default value @()
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