sfpPortnumber
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.9.10.1.2
Object
column SNMPv2-SMIInteger32
This entry describes the number of the port where the sfp can be plugged in.
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.9.10.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sfpTableEntry
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 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::sfpPortnumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::sfpPortnumber.<sfpId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MS-SWITCH30-MIB::sfpPortnumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647