All MIBs › TN-MGMT-MIB › tnIfBWAllocType
tnIfBWAllocType
Module: TN-MGMT-MIB
OID (symbolic): TN-MGMT-MIB::tnIfBWAllocType
OID (numeric): 1.3.6.1.4.1.868.2.5.3.1.2.3.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
This mib variable allows the user to select what bytes in a frame is to be counted. countAllLayer1(1) - Counts all Layer 1 bytes. Preamble(8 bytes) + DA to CRC + IFG (12 bytes) countAllLayer2(2) - Counts all Layer 2 bytes. Frame's DA to CRC countAllLayer3(3) - Counts all Layer 3 bytes. Frame's DA to CRC - 18 (DA+SA+EtherType+CRC) - 4 (If vlan tagged)
What is tnIfBWAllocType?
This object allows operators to configure which network protocol layers to count when measuring bandwidth utilization on an interface, choosing between all Layer 1 bytes (including preamble and frame gaps), Layer 2 bytes (full frame), or Layer 3 bytes (excluding MAC and VLAN headers). Different counting methods yield different bandwidth totals, and this read-write setting lets operators choose the most relevant measurement for their monitoring. Selecting the right layer is essential for accurate capacity planning and billing calculations.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.2.3.1.1 snmpwalk -v2c -c public <target> TN-MGMT-MIB::tnIfBWAllocType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.2.3.1.1.1 snmpget -v2c -c public <target> TN-MGMT-MIB::tnIfBWAllocType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.3.1.2.3.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> tnIfBWAllocType.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.868 | transition | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2 | products | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5 | tnProducts | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5.3 | tnMgmtMIB | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1 | tnMgmtObjects | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.2 | tnInterfaceMgmt | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.2.3 | tnIfBWAllocTable | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.2.3.1 | tnIfBWAllocEntry | TN-MGMT-MIB |
| 1.3.6.1.4.1.868.2.5.3.1.2.3.1.1 | tnIfBWAllocType | TN-MGMT-MIB |