< Back
New-NsxLogicalRouterOspfArea
Post
NAME New-NsxLogicalRouterOspfArea
SYNOPSIS
Creates a new OSPF Area and adds it to the specified ESGs OSPF
configuration.
SYNTAX
New-NsxLogicalRouterOspfArea [-LogicalRouterRouting] <XmlElement> [-Confirm] [-AreaId] <UInt32> [[-Type] <String>]
[[-AuthenticationType] <String>] [[-Password] <String>] [[-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-NsxLogicalRouterOspfArea cmdlet adds a new OSPF Area 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
-Type <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AuthenticationType <String>
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 6
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:\\>Create area 50 as a normal type on ESG LogicalRouter01
PS C:\\> Get-NsxLogicalRouter LogicalRouter01 | Get-NsxLogicalRouterRouting | New-NsxLogicalRouterOspfArea -AreaId
50
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Create area 10 as a nssa type on ESG LogicalRouter01 with password authentication
PS C:\\> Get-NsxLogicalRouter LogicalRouter01 | Get-NsxLogicalRouterRouting | New-NsxLogicalRouterOspfArea -AreaId
10 -Type password -Password "Secret"
RELATED LINKS
SYNOPSIS
Creates a new OSPF Area and adds it to the specified ESGs OSPF
configuration.
SYNTAX
New-NsxLogicalRouterOspfArea [-LogicalRouterRouting] <XmlElement> [-Confirm] [-AreaId] <UInt32> [[-Type] <String>]
[[-AuthenticationType] <String>] [[-Password] <String>] [[-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-NsxLogicalRouterOspfArea cmdlet adds a new OSPF Area 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
-Type <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AuthenticationType <String>
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 6
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:\\>Create area 50 as a normal type on ESG LogicalRouter01
PS C:\\> Get-NsxLogicalRouter LogicalRouter01 | Get-NsxLogicalRouterRouting | New-NsxLogicalRouterOspfArea -AreaId
50
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Create area 10 as a nssa type on ESG LogicalRouter01 with password authentication
PS C:\\> Get-NsxLogicalRouter LogicalRouter01 | Get-NsxLogicalRouterRouting | New-NsxLogicalRouterOspfArea -AreaId
10 -Type password -Password "Secret"
RELATED LINKS