When troubleshooting BGP sessions there are a few things to check and consider. This articles examines the different areas to verify, validate and troubleshoot a BGP session.
VMware NSX-T
VMware NSX
There are several reasons why BGP sessions may not get established. The following are the most common reasons:
On your BGP Troubleshooting session, here are the first few things to check and consider:
Identify which interfaces are involved in peering and which BGP states are involved.
Which BGP state (Idle; Connect; Active; OpenSent; OpenConfirm; Established) are the peers in, or cycling between?nsx-t-edge > get logical-router
find tier0_sr vrf id
nsx-t-edge > vrf <t0_sr_vrf_id>
nsx-t-edge(tier0_sr)> get bgp neighbor summary
nsx-t-edge(tier0_sr)> get bgp neighbor ipv4
nsx-t-edge(tier0_sr)> get bgp neighbor advertised-routes (only if connection is in Established state)
nsx-t-edge(tier0_sr)> ping <bgp_neighbor> (a successful ping indicates healthy underlay network)
var/log/frr/frr.log - grep for remote peer IP or with "NOTIFICATION" and "ADJCHANGE" if there are multiple peers and need to filter adjacency change activity.
var/log/syslog - grep for "state=BGP" to view state changes
<Edge bundle>/edge/frr_show_ip_bgp_neighbors_json
<Edge bundle>/edge/frr_show_ip_bgp_summary_json
<Edge bundle>/edge/tier0_sr_get_bgp_neighbor
Resources/Documentation | Link |
Cisco BGP Essential Training | BGP Essential Training |
VMware NSX-T Admin Guide | Configure BGP |
BGP session diagnostics for troubleshooting BGP session flaps on NSX-T edge node | BGP session diagnostics for troubleshooting BGP session flaps on NSX-T edge node |
NSX Reference Design |
https://community.broadcom.com/viewdocument/nsx-reference-design-guide-42-v10
|
Set debug logs on BGP |
From inside the T0 VRF After debugging is complete, To disable debug logs: 1. clear routing debug bgp all 2. clear debug |
If you are contacting Broadcom support about this issue, please provide the following:
Handling Log Bundles for offline review with Broadcom support