onuTotalEthNum
NSCRTV-FTTX-GPON-MIB ·
.1.3.6.1.4.1.17409.2.8.4.5.1.3
Object
column Integer32
gePort Bitmap In slot+port pair list manner. Suppose each slot support up to 64 ports. One octet to indentify slot and 8 octets to identify portbitmap for the slot. The bitmap definition is internet sequence. The most left bit is for port 1 of the slot, the most right bit is for port 64 of the slot. If the slot cannot support 64 ports, set the bits of not supported ports to 0. If the port is GE port, set the corresponding bit to 1. Since the slot num depends on each individual device, the object is variable length. If the device is fixed box (not modulized), set the slot number to 255. Then the network management system could ignore the slot info. It is not necessary to list the slot doesn't support GE port. For example, if have 4 GE ports, of: 1/4, 1/6, 2/3, 4/17, the object will be presented in: 01 14 00 00 00 00 00 00 00 02 20 00 00 00 00 00 00 00 04 00 00 80 00 00 00 00 00 Another example, for fixed box, if have 4 ge ports of 4,6,10,17, the object will be presented as: FF 14 40 10 00 00 00 00
Context
- MIB
- NSCRTV-FTTX-GPON-MIB
- OID
.1.3.6.1.4.1.17409.2.8.4.5.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- onuCapabilityEntry
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 'NSCRTV-FTTX-GPON-MIB' -M '/opt/observium/mibs/nscrtv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-FTTX-GPON-MIB::onuTotalEthNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NSCRTV-FTTX-GPON-MIB' -M '/opt/observium/mibs/nscrtv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-FTTX-GPON-MIB::onuTotalEthNum.<onuCapabilityDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NSCRTV-FTTX-GPON-MIB' -M '/opt/observium/mibs/nscrtv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NSCRTV-FTTX-GPON-MIB::onuTotalEthNum'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647