prtGenTestPrtIdx
RAD-MIB ·
.1.3.6.1.4.1.164.3.3.3.1.2.1.1
Object
column SNMPv2-SMIInteger32
This attribute indicates a unique number to identify a port.
The valid port number depends on the IO slot no., the
installed card type and the port type: outside/external, inside/internal.
In the Kilomux, the port index is calculated as follows:
100*Slot+Ch. The external Ch numbers are 1..10, and the
internal Ch numbers are 11..20.
In the DXC :
- first two digits will be: (IO slot number+10)
- last one/two digits will be the port number within the
card in odd or even numbers, as follows:
* For the outside/external ports, in odd numbers:
port1 = 1
port2 = 3
port3 = 5
etc...
Example: port2 of IO slot 11 will be: 213 .
* The inside/internal ports, in even numbers:
port1 = 2
port2 = 4
port3 = 6
etc...
Example: port2 of IO slot 11 will be: 214 .
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.3.3.3.1.2.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- prtGenTestDurationEntry
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::prtGenTestPrtIdx'
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::prtGenTestPrtIdx.<index>'
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::prtGenTestPrtIdx'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647