prtGenTestMask

RAD-MIB · .1.3.6.1.4.1.164.3.3.3.1.1.1.8

Object

This is a mask which indicates which tests from the
'prtGenTestCmd' list are allowed for the selected port.
If a specific test is allowed, its respective bit will be SET 
in the mask :
              
  TEST                  BIT
 -----------            ---
 localLoop               1
 remoteLoop              2
 bert                    3
 plb                     4
 inband                  5
              
 prbs                    8
 loop2-v54  (RLB)        9
 loop3-v54  (LLB)       10
              
 Tone injection         13
 Tx-plb                 14
 Tx-llb                 15
 DTE loop (HSSI)        16
              
 HDSL-Tx-Inband         20
 HDSL-Rx-Inband         21
		Monitor                22  (test port)
		User Line Loopback	   23
              
 Rem-Loop-on-Rem-Unit   25
		LBBD                   26
		LB1                    27
		LB2                    28
 BERT-on-Rem-Unit       29
		TS Remote Loop         30
		LLB-on-Rem-Unit        31
              
 e.g : If the return value is 3 -> 0000000000000011  ->
       Bits 1 & 2 are set -> the allowed tests are :
                                    local-loop
                                    remote-loop

Context

MIB
RAD-MIB
OID
.1.3.6.1.4.1.164.3.3.3.1.1.1.8
Type
column
Access
readonly
Status
current
Parent
prtGenEntry

Walk 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::prtGenTestMask'
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::prtGenTestMask.<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::prtGenTestMask'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647