< Back
New-NsxEdgeBgpNeighbour
Post
NAME New-NsxEdgeBgpNeighbour
SYNOPSIS
Creates a new BGP neighbour and adds it to the specified ESGs BGP
configuration.
SYNTAX
New-NsxEdgeBgpNeighbour [-EdgeRouting] <XmlElement> [-Confirm] [-IpAddress] <IPAddress> [-RemoteAS] <Int32>
[[-Weight] <Int32>] [[-HoldDownTimer] <Int32>] [[-KeepAliveTimer] <Int32>] [[-Password] <String>] [[-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-NsxEdgeBgpNeighbour cmdlet adds a new BGP neighbour to the bgp
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
-IpAddress <IPAddress>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoteAS <Int32>
Required? true
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Weight <Int32>
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-HoldDownTimer <Int32>
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-KeepAliveTimer <Int32>
Required? false
Position? 6
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Required? false
Position? 7
Default value
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 new neighbour 1.2.3.4 with remote AS number 1234 with defaults.
PS C:\\> Get-NsxEdge | Get-NsxEdgeRouting | New-NsxEdgeBgpNeighbour -IpAddress 1.2.3.4 -RemoteAS 1234
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add a new neighbour 1.2.3.4 with remote AS number 22235 specifying weight, holddown and keepalive timers
and dont prompt for confirmation.
PowerCLI C:\\> Get-NsxEdge | Get-NsxEdgeRouting | New-NsxEdgeBgpNeighbour -IpAddress 1.2.3.4 -RemoteAS 22235
-Confirm:$false -Weight 90 -HoldDownTimer 240 -KeepAliveTimer 90 -confirm:$false
RELATED LINKS
SYNOPSIS
Creates a new BGP neighbour and adds it to the specified ESGs BGP
configuration.
SYNTAX
New-NsxEdgeBgpNeighbour [-EdgeRouting] <XmlElement> [-Confirm] [-IpAddress] <IPAddress> [-RemoteAS] <Int32>
[[-Weight] <Int32>] [[-HoldDownTimer] <Int32>] [[-KeepAliveTimer] <Int32>] [[-Password] <String>] [[-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-NsxEdgeBgpNeighbour cmdlet adds a new BGP neighbour to the bgp
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
-IpAddress <IPAddress>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoteAS <Int32>
Required? true
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Weight <Int32>
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-HoldDownTimer <Int32>
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-KeepAliveTimer <Int32>
Required? false
Position? 6
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Required? false
Position? 7
Default value
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 new neighbour 1.2.3.4 with remote AS number 1234 with defaults.
PS C:\\> Get-NsxEdge | Get-NsxEdgeRouting | New-NsxEdgeBgpNeighbour -IpAddress 1.2.3.4 -RemoteAS 1234
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add a new neighbour 1.2.3.4 with remote AS number 22235 specifying weight, holddown and keepalive timers
and dont prompt for confirmation.
PowerCLI C:\\> Get-NsxEdge | Get-NsxEdgeRouting | New-NsxEdgeBgpNeighbour -IpAddress 1.2.3.4 -RemoteAS 22235
-Confirm:$false -Weight 90 -HoldDownTimer 240 -KeepAliveTimer 90 -confirm:$false
RELATED LINKS