ptPortSpeed
HMPRIV-MAX-MIB ·
.1.3.6.1.4.1.248.70.12.6.3.2.1.10
Object
column mandatory
r/w
Enumeration
Port speed.
Context
- MIB
- HMPRIV-MAX-MIB
- OID
.1.3.6.1.4.1.248.70.12.6.3.2.1.10- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- portEntry
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 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MAX-MIB::ptPortSpeed'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MAX-MIB::ptPortSpeed.<ptSlotIndex>.<ptPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MAX-MIB::ptPortSpeed'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | speed10Mbps |
2 | speed100Mbps |
3 | speed1000Mbps |
4 | notApplicable |