hardwareSerialNumber
IBM-GbTOR-10G-L2L3-MIB ·
.1.3.6.1.4.1.26543.102.102.14.9
Object
scalar OctetString
The switch serial number.
Context
- MIB
- IBM-GbTOR-10G-L2L3-MIB
- OID
.1.3.6.1.4.1.26543.102.102.14.9- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- tor-switch
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 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-10G-L2L3-MIB::hardwareSerialNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-10G-L2L3-MIB::hardwareSerialNumber'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128