getSfpCmd
XXX-MIB ·
.1.3.6.1.4.1.34592.1.1.1.4.2.2.2.1.1.1
Object
column r/w
Enumeration
This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.
Context
- MIB
- XXX-MIB
- OID
.1.3.6.1.4.1.34592.1.1.1.4.2.2.2.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mcCm1gSfpEntry
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 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XXX-MIB::getSfpCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XXX-MIB::getSfpCmd.<mcShelfIdx>.<mcCardIdx>.<mcLoOrRmtFg>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XXX-MIB::getSfpCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | local |
2 | remote |