All MIBs › CISCO-CEF-MIB › cefPrefixBytes
cefPrefixBytes
Module: CISCO-CEF-MIB
OID (symbolic): CISCO-CEF-MIB::cefPrefixBytes
OID (numeric): 1.3.6.1.4.1.9.9.492.1.1.2.1.7
Node type: OBJECT-TYPE
Type: Counter32
Access: read-only
Description: If CEF accounting is set to enable per prefix accounting (value of cefCfgAccountingMap object in the cefCfgEntry is set to enable 'perPrefix' accounting), then this object represents the number of bytes switched to this prefix.
What is cefPrefixBytes?
When per-prefix accounting is enabled, this counter tracks the total bytes, as opposed to packet count, switched to this specific destination prefix. Byte counts specifically let an admin estimate actual bandwidth consumption toward a given prefix, which packet counts alone cannot reveal since packet size varies enormously between, say, VoIP traffic and bulk file transfer toward the same destination. Comparing this counter's growth against cefPrefixPkts for the same prefix could reveal an average packet size of around 1200 bytes, suggesting bulk data transfer rather than small VoIP packets are dominating traffic to that destination.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.492.1.1.2.1.7 snmpwalk -v2c -c public <target> CISCO-CEF-MIB::cefPrefixBytes
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.492.1.1.2.1.7.1 snmpget -v2c -c public <target> CISCO-CEF-MIB::cefPrefixBytes.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::cefPrefixBytes 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.1 | cefFIB | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.1.2 | cefPrefixTable | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.1.2.1 | cefPrefixEntry | CISCO-CEF-MIB |
| 1.3.6.1.4.1.9.9.492.1.1.2.1.7 | cefPrefixBytes | CISCO-CEF-MIB |