show ip bgp summaryBGP peer states and prefix counts per neighbour.
The State/PfxRcd column carries the answer: a number means the session is established and that many prefixes were accepted. A word (Idle, Active, Connect) means it is not established.
| Platform | Command |
|---|---|
| Cisco IOS / NX-OS | show ip bgp summary |
| Juniper JunOS | show bgp summary |
| MikroTik RouterOS | /routing bgp peer print status |
| FortiOS | get router info bgp summary |
show ip bgp neighbors 192.0.2.1 received-routesshow ip bgp 10.20.0.0/16The misreadings that actually cost people time.