Edit

Share via


New-NetIntentSiteOverrides

Creates a new instance of site configuration overrides which can be used to supply granular values to Set-NetIntent.

Syntax

Default (Default)

New-NetIntentSiteOverrides
    [[-StorageVLAN] <UInt16[]>]
    [[-StretchVLAN] <UInt16[]>]
    [[-ManagementVLAN] <UInt16>]
    [[-Name] <String>]
    [<CommonParameters>]

Description

The New-NetIntentSiteOverrides cmdlet creates a new instance of a site override. It specifies detailed configuration values that can be applied to a network intent using the Set-NetIntent cmdlet. It allows administrators to define VLAN settings for storage, stretch, and management purposes.

Examples

Example 1

New-NetIntentSiteOverrides -Name "MySite" -StorageVLAN 101,102

This example configures a site named MySite and sets up VLAN IDs 101 and 102 for storage traffic.

Parameters

-ManagementVLAN

Specifies the VLAN ID used for network management traffic. This parameter accepts a single VLAN ID.

Parameter properties

Type:UInt16
Default value:0
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of the site configuration. This parameter allows you to assign a unique name making it easier to reference and manage your network policies.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageVLAN

Specifies the VLAN IDs used for storage traffic. This parameter accepts an array of VLAN IDs.

Parameter properties

Type:

UInt16[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StretchVLAN

Specifies the VLAN IDs used for stretch networking. This parameter accepts an array of VLAN IDs.

Parameter properties

Type:

UInt16[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.