< Back
Remove-NsxEdgeBgpNeighbour
Post
NAME Remove-NsxEdgeBgpNeighbour
SYNOPSIS
Removes a BGP neigbour from the specified ESGs BGP configuration.
SYNTAX
Remove-NsxEdgeBgpNeighbour [-BgpNeighbour] <XmlElement> [-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 Remove-NsxEdgeBgpNeighbour cmdlet removes a BGP neighbour route from the
bgp configuration of the specified Edge Services Gateway.
Neighbours to be removed can be constructed via a PoSH pipline filter outputing
neighbour objects as produced by Get-NsxEdgeBgpNeighbour and passing them on the
pipeline to Remove-NsxEdgeBgpNeighbour.
PARAMETERS
-BgpNeighbour <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
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
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:\\>Remove the BGP neighbour 1.1.1.2 from the the edge Edge01's bgp configuration
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour | where-object { $_.ipaddress -eq
'1.1.1.2' } | Remove-NsxEdgeBgpNeighbour
RELATED LINKS
SYNOPSIS
Removes a BGP neigbour from the specified ESGs BGP configuration.
SYNTAX
Remove-NsxEdgeBgpNeighbour [-BgpNeighbour] <XmlElement> [-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 Remove-NsxEdgeBgpNeighbour cmdlet removes a BGP neighbour route from the
bgp configuration of the specified Edge Services Gateway.
Neighbours to be removed can be constructed via a PoSH pipline filter outputing
neighbour objects as produced by Get-NsxEdgeBgpNeighbour and passing them on the
pipeline to Remove-NsxEdgeBgpNeighbour.
PARAMETERS
-BgpNeighbour <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
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
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:\\>Remove the BGP neighbour 1.1.1.2 from the the edge Edge01's bgp configuration
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour | where-object { $_.ipaddress -eq
'1.1.1.2' } | Remove-NsxEdgeBgpNeighbour
RELATED LINKS