modemDevicePorts
RAD-MIB ·
.1.3.6.1.4.1.164.3.4.3.1.1.1.33
Object
column SNMPv2-SMIInteger32
The value indicates the existence of optional ports (which are not Line or DTE). The value is a sum of 2**n, where n is a bit assigned to a certain port. For bit assignment see modem's specification. For ASMi-52 SA, the bit assigned for Alarm Relay port is 0, therefore Agent will return '1' if this optional port exists. Value of '0', means that no such optional port exists.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.3.4.3.1.1.1.33- Type
- column
- Access
- readonly
- Status
- current
- Parent
- modemParamEntry
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 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::modemDevicePorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::modemDevicePorts.<modemIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::modemDevicePorts'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647