< Back

New-NsxLogicalRouterBridge

Sat Jan 18, 2020 9:17 pm

NAME New-NsxLogicalRouterBridge



SYNOPSIS

Creates a new static route and adds it to the specified ESGs routing

configuration.





SYNTAX

New-NsxLogicalRouterBridge [-LogicalRouterBridging] <XmlElement> -Name <String> -PortGroup

<DistributedPortGroupInterop> -LogicalSwitch <XmlElement> [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Logical Router is a distributed routing function implemented within

the ESXi kernel, and optimised for east west routing.



Logical Routers act as the configuration entity for enabling layer 2 bridging

within a NSX environment. Although the Logical Router control VM is not part

of the datapath, it does control which hypervisor is active for a given bridge

instance. A Bridge is configured between a single VD Port Group and a single

Logical Switch



Each Logical Router can define the configuration of multiple bridges.



The New-NsxLogicalRouterBridge cmdlet creates a new bridge instance configured

via the specifid logical router.





PARAMETERS

-LogicalRouterBridging <XmlElement>



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Name <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PortGroup <DistributedPortGroupInterop>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LogicalSwitch <XmlElement>



Required? true

Position? named

Default value

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-NsxLogicalRouter BridgeRouter | Get-NsxLogicalRouterBridging | New-NsxLogicalRouterBridge -Name

"bridge1" -PortGroup $bridgepg1 -LogicalSwitch $bridgels1



Create a bridge between vdportgroup $bridgepg1 and logical switch $bridgels1 on logicalrouter BridgeRouter.











RELATED LINKS