< Back
Get-NsxEdgeBgpNeighbour
Post
NAME Get-NsxEdgeBgpNeighbour
SYNOPSIS
Returns BGP neighbours from the specified NSX Edge Services Gateway BGP
configuration.
SYNTAX
Get-NsxEdgeBgpNeighbour [-EdgeRouting] <XmlElement> [[-Network] <String>] [[-IpAddress] <IPAddress>] [[-RemoteAS]
<Int32>] [<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 Get-NsxEdgeBgpNeighbour cmdlet retrieves the BGP neighbours from the
BGP configuration specified.
PARAMETERS
-EdgeRouting <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Network <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IpAddress <IPAddress>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoteAS <Int32>
Required? false
Position? 4
Default value 0
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 all BGP neighbours defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get BGP neighbour 1.1.1.1 defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour -IpAddress 1.1.1.1
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get all BGP neighbours with Remote AS 1234 defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour | where-object { $_.RemoteAS -eq '1234' }
RELATED LINKS
SYNOPSIS
Returns BGP neighbours from the specified NSX Edge Services Gateway BGP
configuration.
SYNTAX
Get-NsxEdgeBgpNeighbour [-EdgeRouting] <XmlElement> [[-Network] <String>] [[-IpAddress] <IPAddress>] [[-RemoteAS]
<Int32>] [<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 Get-NsxEdgeBgpNeighbour cmdlet retrieves the BGP neighbours from the
BGP configuration specified.
PARAMETERS
-EdgeRouting <XmlElement>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Network <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IpAddress <IPAddress>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoteAS <Int32>
Required? false
Position? 4
Default value 0
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 all BGP neighbours defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get BGP neighbour 1.1.1.1 defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour -IpAddress 1.1.1.1
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get all BGP neighbours with Remote AS 1234 defined on Edge01
PS C:\\> Get-NsxEdge Edge01 | Get-NsxEdgeRouting | Get-NsxEdgeBgpNeighbour | where-object { $_.RemoteAS -eq '1234' }
RELATED LINKS