< Back
New-NsxEdgeRedistributionRule
Post
NAME New-NsxEdgeRedistributionRule
SYNOPSIS
Creates a new route redistribution rule and adds it to the specified ESGs
configuration.
SYNTAX
New-NsxEdgeRedistributionRule [-EdgeRouting] <XmlElement> [-Learner] <String> [[-PrefixName] <String>]
[-FromConnected] [-FromStatic] [-FromOspf] [-FromBgp] [[-Action] <String>] [-Confirm] [[-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-NsxEdgeRedistributionRule cmdlet adds a new route redistribution
rule to the 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
-Learner <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrefixName <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FromConnected [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromStatic [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromOspf [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromBgp [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Action <String>
Required? false
Position? 4
Default value permit
Accept pipeline input? false
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
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 5
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:\\>Get-NsxEdge Edge01 | Get-NsxEdgeRouting | New-NsxEdgeRedistributionRule -PrefixName test -Learner ospf
-FromConnected -FromStatic -Action permit
Create a new permit Redistribution Rule for prefix test (note, prefix must already exist, and is case sensistive)
for ospf.
RELATED LINKS
SYNOPSIS
Creates a new route redistribution rule and adds it to the specified ESGs
configuration.
SYNTAX
New-NsxEdgeRedistributionRule [-EdgeRouting] <XmlElement> [-Learner] <String> [[-PrefixName] <String>]
[-FromConnected] [-FromStatic] [-FromOspf] [-FromBgp] [[-Action] <String>] [-Confirm] [[-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-NsxEdgeRedistributionRule cmdlet adds a new route redistribution
rule to the 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
-Learner <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrefixName <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FromConnected [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromStatic [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromOspf [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FromBgp [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Action <String>
Required? false
Position? 4
Default value permit
Accept pipeline input? false
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
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 5
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:\\>Get-NsxEdge Edge01 | Get-NsxEdgeRouting | New-NsxEdgeRedistributionRule -PrefixName test -Learner ospf
-FromConnected -FromStatic -Action permit
Create a new permit Redistribution Rule for prefix test (note, prefix must already exist, and is case sensistive)
for ospf.
RELATED LINKS