wrsPortStatusSfpInDB
WR-SWITCH-MIB ·
.1.3.6.1.4.1.96.100.7.6.1.10
Object
column Enumeration
Whether the SFP is in data base or not
Context
- MIB
- WR-SWITCH-MIB
- OID
.1.3.6.1.4.1.96.100.7.6.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- wrsPortStatusEntry
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 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WR-SWITCH-MIB::wrsPortStatusSfpInDB'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WR-SWITCH-MIB::wrsPortStatusSfpInDB.<wrsPortStatusIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WR-SWITCH-MIB::wrsPortStatusSfpInDB'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | notInDataBase |
2 | inDataBase |