portTopNUtilization
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.20.2.1.4
Object
column Integer32
The utilization of the port in the system.
The utilization is computed in the following
methods:
Ethernet Utilization: (If Full Duplex, multiply by 2)
10 Mbps I/O-pkts * (9.6 + 6.4) + (0.8 * I/O-Bytes)
Ethernet Util = -----------------------------------------
Interval * 10,000
where 9.6 is interframe gap of Ethernet
6.4 is preamble of Ethernet
10,000 is 10Mbps
100 Mbps I/O-pkts * (96 + 64) + (8 * I/O-Bytes)
Ethernet Util = --------------------------------------
Interval * 1,000,000
1000 Mbps I/O-pkts * (96 + 64) + (8 * I/O-Bytes)
Ethernet Util = --------------------------------------
Interval * 10,000,000
All other I/O-pkts * (9.6 + 6.4) + (0.8 * I/O-Bytes)
Ethernet Util = ------------------------------------------
Interval * N * 1,000
(where N is N Mbps)
Token Ring Utilization:
(Assuming that Octets is from AC byte through FCS)
4 Mbps Pkts * 32 + (8 * Octets)
Token Ring Util = 100 * ------------------------
Interval * 4,000,000
where 32 is bits in SD, ED, FS and IFG
16 Mbps Pkts * 64 + (8 * Octets)
Token Ring Util = 100 * ------------------------
Interval * 16,000,000
where 64 is bits in SD, ED, FS and IFG
FDDI Utilization:
I/O-Pkts * (64 + 8 + 32 + 16) + (8 * I/O-Bytes)
FDDI Util = ----------------------------------------------
Interval * 100,000,000
where 64 is Preamble of FDDI,
8 is the Start Delimiter (SD) of FDDI,
32 is the CRC, and
16 is the End of Frame Sequence (EFS) of FDDI.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.20.2.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portTopNEntry
- Groups
- 2
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portTopNUtilization'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portTopNUtilization.<portTopNControlIndex>.<portTopNIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::portTopNUtilization'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535
Conformance
Member of