The counters that display the number of BGP routes advertised to a BGP peer, the field "OutPfx" could be inaccurate.
book
Article ID: 330590
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
Symptoms: The numbers displayed could either be more than or lesser than the actual count of the route prefixes advertised to a BGP peer: nsx-edge1(tier0_sr)> get bgp neighbor summary BFD States: NC - Not configured, AC - Activating,DC - Disconnected AD - Admin down, DW - Down, IN - Init,UP - Up BGP summary information for VRF default for address-family: ipv4Unicast Router ID: 172.16.26.138 Local AS: 65000
Neighbor AS State Up/DownTime BFD InMsgs OutMsgs InPfx OutPfx
nsx-edge1(tier0_sr)> get bgp neighbor 172.16.26.137 advertised-routes BGP IPv4 table version is 128954 Local router ID is 172.16.26.138 Status flags: > - best, I - internal Origin flags: i - IGP, e - EGP, ? - incomplete
There are "25" advertised routes but the summary "OutPfx" shows "0"
Environment
VMware NSX-T Data Center
Cause
FRR BGP does not maintain a RIB of advertised routes per-peer. The counters displayed are manipulated from the count of the entire RIB. FRR BGP is unable to correctly account for route re-advertisements and withdrawals while calculating the counters.
This results in incorrect counter values.
Resolution
Fixed in NSX-T 3.1.1.0 and newer
Additional Information
Impact/Risks: No functional impact. Only the stats will appear inaccurate.