BGP Policy Accounting

Scenario
The BGP policy accounting enables you to account for traffic based on BGP attributes. So instead of relying on interface counters you can aggregate prefix counters based on something like communities or the AS_PATH attribute. The concept of an index, as shown below, is used to achieve this.

The router in the below comparison is in AS 200 and is configured to count all traffic sourced from AS100 on two interfaces.

IOS Config

XR Config

Back to top