Skip to content

New-NsxtTier1StaticRoute

Synopsis

Creates Static Route on Tier 1 Gateway

Syntax

New-NsxtTier1StaticRoute [-tier1Gateway] <String> [-segment] <String> [-json] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The New-NsxtTier1StaticRoute cmdlet creates a static route on Tier 1 Gateway.

Examples

Example 1

New-NsxtTier1StaticRoute -tier1Gateway -segment -json

This example configures a Service Interface on a Tier 1 Gateway.

Parameters

-tier1Gateway

The name of the Tier 1 Gateway.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-segment

The name of the Segment.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-json

The JSON configuration for the Tier 1 Gateway.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

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