mdlClSwchStatus
RAD-MIB ·
.1.3.6.1.4.1.164.3.3.2.2.1.1.2
Object
column SNMPv2-SMIInteger32
This object indicates the status of the switches on
the referred DCL card.
Each switch is represented by a bit. The status is a sum
of 2**n, according to the bits. There are 4 switches:
bit 0 SP-PAR (LSB) '1' - Default parameters
bit 1 PSWRD '1' - Password=default
'0' - Password=user selected
bit 2 DB-INIT '1' - DB initiated with default
'0' - DB initiated with NVRAM contents
bit 3 PC-SP (MSB) '1' - Management by terminal only
'0' - Management by NMS
Example: If SP-PAR and PSWRD bits are set ('1'), the value
will be 3 (2**1 + 2**0).
When the status of the switches is unknown, the value of
this object will be 255.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.3.3.2.2.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mdlClEntry
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::mdlClSwchStatus'
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::mdlClSwchStatus.<prtSAlarmPrtIdx>.<prtSAlarmIdx>'
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::mdlClSwchStatus'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647