< Back

New-NsxLogicalRouterOspfInterface

Sat Jan 18, 2020 9:18 pm

NAME New-NsxLogicalRouterOspfInterface



SYNOPSIS

Creates a new OSPF Interface to Area mapping and adds it to the specified

LogicalRouters OSPF configuration.





SYNTAX

New-NsxLogicalRouterOspfInterface [-LogicalRouterRouting] <XmlElement> [-Confirm] [-AreaId] <UInt32> [-Vnic]

<Int32> [[-HelloInterval] <Int32>] [[-DeadInterval] <Int32>] [[-Priority] <Int32>] [[-Cost] <Int32>] [-IgnoreMTU]

[[-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 perform ipv4 and ipv6 routing functions for connected

networks and support both static and dynamic routing via OSPF and BGP.



The New-NsxLogicalRouterOspfInterface cmdlet adds a new OSPF Area to Interface

mapping to the ospf configuration of the specified LogicalRouter.





PARAMETERS

-LogicalRouterRouting <XmlElement>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-AreaId <UInt32>



Required? true

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Vnic <Int32>



Required? true

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-HelloInterval <Int32>



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-DeadInterval <Int32>



Required? false

Position? 5

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Priority <Int32>



Required? false

Position? 6

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Cost <Int32>



Required? false

Position? 7

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-IgnoreMTU [<SwitchParameter>]



Required? false

Position? named

Default value False

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Add a mapping for Area 10 to Interface 0 on ESG LogicalRouter01



PS C:\\> Get-NsxLogicalRouter LogicalRouter01 | Get-NsxLogicalRouterRouting | New-NsxLogicalRouterOspfInterface

-AreaId 10 -Vnic 0











RELATED LINKS