The different types of BGP statistics that are collected by the CPAA are:
statistics for global BGP
statistics for BGP Route Target
statistics per Next Hop in global BGP
statistics per Next Hop for each Route Target
statistics for BGP Originated AS
Global BGP
The CPAA collects the following statistics for global BGP and for each RT:
total number of sub-AS internal BGP routes
total number of confederation internal BGP routes (only for global BGP)
total number of external BGP routes
number of BGP routes churn (added or withdrawn)
number of BGP routes added
number of BGP routes withdrawn
number of flapped BGP routes (flap is defined as a route added after being withdrawn)
number of changed Next-Hop
number of changed LOCAL-PREF
number of changed MED
number of changed COMMUNITY
number of changed AS-PATH
Next hop for global BGP and per RT
The CPAA collects the following statistics per Next Hop for global BGP and per RT:
total number BGP routes
number of BGP routes added or withdrawn
number of BGP routes added
number of BGP routes withdrawn
number of flapped BGP routes (flap is defined as routes added or withdrawn)
number of changed LOCAL-PREF
number of changed MED
number of changed COMMUNITY
number of changed AS-PATH
Note: BGP statistics are identified by (RT:NH), where the where RT is the Route Target and NH is the Next Hop. For global BGP, the RT is 0. When the NH is 0, the statistics are aggregated for all of the next hops. The statistics for each next hop are identified by a none-zero NH. A non-zero RT specifies the specific RT.
Flaps are detected within a 2-minute interval. The counter starts when a route is withdrawn.
BGP originated AS
The CPAA collects the following statistics for each originated AS: