SNMP Operations

The cbpAcctTable table, which contains five variables, is the only object in the BGP-POLICY-ACCOUNTING-MIB MIB. It contains all the BGP Policy Accounting packet and byte counters for each (sub)interface and for both the input and output directions:

  • cbpAcctTrafficIndex is an integer value greater than 0 that uniquely identifies the bucket (also called traffic-type in the MIB).

  • cbpAcctInPacketCount is the total number of packets received for a particular bucket on an interface.

  • cbpAcctInOctetCount is the total number of octets received for a particular bucket on an interface.

  • cbpAcctOutPacketCount is the total number of packets transmitted for a particular bucket on an interface.

  • cbpAcctOutOctetCount is the total number of octets transmitted for a particular bucket on an interface.

The table indexes are ifIndex, which provides the (sub)interface identifier, and cbpAcctTrafficIndex, which references the bucket identifier.

Note that all counters are type Counter64 (64-bit), so SNMPv2 or SNMPv3 is required to access these counters.



Part II: Implementations on the Cisco Devices