< Back

Get-NsxLogicalRouterOspfInterface

Sat Jan 18, 2020 9:09 pm

NAME Get-NsxLogicalRouterOspfInterface



SYNOPSIS

Returns OSPF Interface mappings defined in the specified NSX LogicalRouter

OSPF configuration.





SYNTAX

Get-NsxLogicalRouterOspfInterface [-LogicalRouterRouting] <XmlElement> [[-AreaId] <Int32>] [[-vNicId] <Int32>]

[<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 Get-NsxLogicalRouterOspfInterface cmdlet retrieves the OSPF Area to interfaces

mappings from the OSPF configuration specified.





PARAMETERS

-LogicalRouterRouting <XmlElement>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-AreaId <Int32>



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-vNicId <Int32>



Required? false

Position? 3

Default value 0

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 OSPF Area to Interface mappings on LogicalRouter LogicalRouter01



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









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get OSPF Area to Interface mapping for Area 10 on LogicalRouter LogicalRouter01



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

-AreaId 10











RELATED LINKS