< Back

Get-NsxLogicalRouterStaticRoute

Sat Jan 18, 2020 9:09 pm

NAME Get-NsxLogicalRouterStaticRoute



SYNOPSIS

Retrieves Static Routes from the specified NSX LogicalRouter Routing

configuration.





SYNTAX

Get-NsxLogicalRouterStaticRoute [-LogicalRouterRouting] <XmlElement> [[-Network] <String>] [[-NextHop]

<IPAddress>] [<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-NsxLogicalRouterStaticRoute cmdlet retrieves the static routes from the

routing configuration specified.





PARAMETERS

-LogicalRouterRouting <XmlElement>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Network <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NextHop <IPAddress>



Required? false

Position? 3

Default value

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 static routes defining on LogicalRouter LogicalRouter01



PS C:\\> Get-NsxLogicalRouter | Get-NsxLogicalRouterRouting | Get-NsxLogicalRouterStaticRoute











RELATED LINKS