All MIBs › CISCO-CEF-MIB › cefCfgAccountingMap
cefCfgAccountingMap
Module: CISCO-CEF-MIB
OID (symbolic): CISCO-CEF-MIB::cefCfgAccountingMap
OID (numeric): 1.3.6.1.4.1.9.9.492.1.4.1.1.5
Node type: OBJECT-TYPE
Type: Bits
Access: read-write
Description: This object represents a bitmap of network accounting options.
CEF network accounting is disabled by default.
CEF network accounting can be enabled by selecting one or more of the following CEF accounting option for the value of this object.
nonRecursive(0): enables accounting through nonrecursive prefixes.
perPrefix(1): enables the collection of the numbers of pkts and bytes express forwarded to a destination (prefix)
prefixLength(2): enables accounting through prefixlength.
Once the accounting is enabled, the corresponding stats can be retrieved from the cefPrefixTable and cefStatsPrefixLenTable.
What is cefCfgAccountingMap?
This is a bitmap object where an admin selects one or more CEF network accounting options, non-recursive, per-prefix, and prefix-length-based accounting, all of which are disabled by default until explicitly enabled here. This single object is literally the on/off switch for every per-prefix and non-recursive counter described elsewhere in this MIB, such as cefPrefixPkts and cefPrefixInternalNRPkts, so those counters will read zero and never increment until the corresponding bit here is set, which is a common cause of a why-is-this-counter-always-zero troubleshooting session. An admin who wants cefPrefixPkts and cefPrefixBytes to actually populate would need to set the perPrefix bit in this bitmap; leaving it unset means those per-prefix counters stay at zero indefinitely regardless of actual traffic.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.492.1.4.1.1.5 snmpwalk -v2c -c public <target> CISCO-CEF-MIB::cefCfgAccountingMap
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.492.1.4.1.1.5.1 snmpget -v2c -c public <target> CISCO-CEF-MIB::cefCfgAccountingMap.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.492.1.4.1.1.5.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> cefCfgAccountingMap.1
Start monitoring Cisco routers/Layer-3 switches (Cisco Express Forwarding) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-CEF-MIB::cefCfgAccountingMap OID value, configure state conditions and alerts, and monitor any Cisco routers/Layer-3 switches (Cisco Express Forwarding) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.492 | ciscoCefMIB | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1 | ciscoCefMIBObjects | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.4 | cefGlobal | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.4.1 | cefCfgTable | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.4.1.1 | cefCfgEntry | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.4.1.1.5 | cefCfgAccountingMap | CISCO-CEF-MIB |