swModuleInfoNumOfPortInUse
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.2.1.1.5
Object
The number of ports in this module connected to the segment or the end stations.
Context
- MIB
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.2.1.1.5- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- swModuleInfoEntry
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swModuleInfoNumOfPortInUse'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swModuleInfoNumOfPortInUse.<swModuleInfoIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swModuleInfoNumOfPortInUse'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647