< Back

Get-NsxLogicalRouterInterface

Sat Jan 18, 2020 9:08 pm

NAME Get-NsxLogicalRouterInterface



SYNOPSIS

Retrieves the specified interface configuration on a specified Logical Router.





SYNTAX

Get-NsxLogicalRouterInterface -LogicalRouter <XmlElement> [[-Name] <String>] [-Connection <PSObject>]

[<CommonParameters>]



Get-NsxLogicalRouterInterface -LogicalRouter <XmlElement> -Index <Int32> [-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 Get-NsxLogicalRouterInterface to retrieve the configuration of a interface.





PARAMETERS

-LogicalRouter <XmlElement>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Name <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Index <Int32>



Required? true

Position? named

Default value 0

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:\\>Get all Interfaces on a Logical Router.















RELATED LINKS