< Back
Set-NsxLogicalRouterInterface
Post
NAME Set-NsxLogicalRouterInterface
SYNOPSIS
Configures an existing NSX LogicalRouter interface.
SYNTAX
Set-NsxLogicalRouterInterface [-Interface] <XmlElement> [-Name] <String> [-Type] <String> [-ConnectedTo] <Object>
[[-PrimaryAddress] <String>] [[-SubnetPrefixLength] <String>] [[-MTU] <Int32>] [-Connected] [-Confirm]
[[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
NSX Logical Routers can host up to 8 uplink and 1000 internal interfaces, each of which
can be configured with multiple properties.
Logical Routers support interfaces connected to either VLAN backed port groups or NSX
Logical Switches, although connection to VLAN backed PortGroups is not a recommended
configuration.
Use Set-NsxLogicalRouterInterface to overwrite the configuration of an existing
interface.
PARAMETERS
-Interface <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ConnectedTo <Object>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryAddress <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubnetPrefixLength <String>
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MTU <Int32>
Required? false
Position? 7
Default value 1500
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
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 8
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
RELATED LINKS
SYNOPSIS
Configures an existing NSX LogicalRouter interface.
SYNTAX
Set-NsxLogicalRouterInterface [-Interface] <XmlElement> [-Name] <String> [-Type] <String> [-ConnectedTo] <Object>
[[-PrimaryAddress] <String>] [[-SubnetPrefixLength] <String>] [[-MTU] <Int32>] [-Connected] [-Confirm]
[[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
NSX Logical Routers can host up to 8 uplink and 1000 internal interfaces, each of which
can be configured with multiple properties.
Logical Routers support interfaces connected to either VLAN backed port groups or NSX
Logical Switches, although connection to VLAN backed PortGroups is not a recommended
configuration.
Use Set-NsxLogicalRouterInterface to overwrite the configuration of an existing
interface.
PARAMETERS
-Interface <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Type <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ConnectedTo <Object>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryAddress <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubnetPrefixLength <String>
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MTU <Int32>
Required? false
Position? 7
Default value 1500
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
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 8
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
RELATED LINKS