swSerialNumber
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.1.3.1.10
Object
column OctetString
Serial number of the switch.
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.1.3.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- switchInfoEntry
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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::swSerialNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::swSerialNumber.<swUnitIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::swSerialNumber'
Syntax
OctetString
Values & Constraints
Enumerated Values
0 | invalid |
1 | idle |
2 | connect |
3 | active |
4 | opensent |
5 | openconfirm |
6 | established |
Object Constraints
range: 0-80