< Back

New-NsxSegmentIdRange

Sat Jan 18, 2020 9:19 pm

NAME New-NsxSegmentIdRange



SYNOPSIS

Creates a new VXLAN Segment ID Range.





SYNTAX

New-NsxSegmentIdRange [-Name] <String> [-Description <String>] -Begin <Int32> -End <Int32> [-Universal]

[-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Segment ID Ranges provide a method for NSX to allocate a unique identifier

(VNI) to each logical switch created within NSX.



The New-NsxSegmentIdRange cmdlet creates a new Segment range on the

connected NSX manager.





PARAMETERS

-Name <String>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Begin <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-End <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Universal [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

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:\\>New-NsxSegmentIdRange -Name LocalSegmentRange



-Description "VNI Range for local logical switches"

-Begin 1000 -End 1999



Creates a Segment Id Range which is used for logical switches









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>New-NsxSegmentIdRange -Name LocalSegmentRange



-Description "VNI Range for local logical switches"

-Begin 77000 -End 77999 -universal



Creates a Universal Segment Id Range which is used for universal logical switches











RELATED LINKS