osPortCfgMaxNumberOfPort
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.1.2
Object
scalar OS-COMMON-TC-MIBPortIndex
Number of ports in the box.
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- osPortCfg
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortCfgMaxNumberOfPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortCfgMaxNumberOfPort'
Syntax
- Source
- OS-COMMON-TC-MIBPortIndex
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 1..2147483647
Conformance
Member of