< Back

Get-NsxEdgePrefix

Sat Jan 18, 2020 9:05 pm

NAME Get-NsxEdgePrefix



SYNOPSIS

Retrieves IP Prefixes from the specified NSX Edge Services Gateway Routing

configuration.





SYNTAX

Get-NsxEdgePrefix [-EdgeRouting] <XmlElement> [[-Name] <String>] [[-Network] <String>] [<CommonParameters>]





DESCRIPTION

An NSX Edge Service Gateway provides all NSX Edge services such as firewall,

NAT, DHCP, VPN, load balancing, and high availability. Each NSX Edge virtual

appliance can have a total of ten uplink and internal network interfaces and

up to 200 subinterfaces. Multiple external IP addresses can be configured

for load balancer, site???????????????to???????????????site VPN, and NAT services.



ESGs perform ipv4 and ipv6 routing functions for connected networks and

support both static and dynamic routing via OSPF, ISIS and BGP.



The Get-NsxEdgePrefix cmdlet retrieves IP prefixes from the

routing configuration specified.





PARAMETERS

-EdgeRouting <XmlElement>



Required? true

Position? 1

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



-Network <String>



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-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgePrefix



Retrieve prefixes from Edge Edge01









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



PS C:\\>Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgePrefix -Network 1.1.1.0/24



Retrieve prefix 1.1.1.0/24 from Edge Edge01









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgePrefix -Name CorpNet



Retrieve prefix CorpNet from Edge Edge01











RELATED LINKS