swGenExpansionModuleMgmtCurrent
GENERAL-MGMT-MIB ·
.1.3.6.1.4.1.171.10.127.1.20.1.1.8.1.4
Object
column OctetString
It displays the current exsit expansion module name. if no expansion module exist, it displays 'none'.
Context
- MIB
- GENERAL-MGMT-MIB
- OID
.1.3.6.1.4.1.171.10.127.1.20.1.1.8.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swGenExpansionModuleMgmtEntry
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 'GENERAL-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GENERAL-MGMT-MIB::swGenExpansionModuleMgmtCurrent'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GENERAL-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GENERAL-MGMT-MIB::swGenExpansionModuleMgmtCurrent.<swGenMgmtUnitID>.<swGenExpansionModuleMgmtSlotID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GENERAL-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GENERAL-MGMT-MIB::swGenExpansionModuleMgmtCurrent'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64