< Back

New-NsxEdgeOspfInterface

Sat Jan 18, 2020 9:15 pm

NAME New-NsxEdgeOspfInterface



SYNOPSIS

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

ESGs OSPF configuration.





SYNTAX

New-NsxEdgeOspfInterface [-EdgeRouting] <XmlElement> [-Confirm] [-AreaId] <UInt32> [-Vnic] <Int32>

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

[[-Connection] <PSObject>] [<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 New-NsxEdgeOspfInterface cmdlet adds a new OSPF Area to Interface

mapping to the ospf configuration of the specified Edge Services Gateway.





PARAMETERS

-EdgeRouting <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 Edge01



PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | New-NsxEdgeOspfInterface -AreaId 10 -Vnic 0











RELATED LINKS