zxAnFileDevId
ZTE-AN-FILE-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.20.50.2.2.2.1.4
Object
column SNMPv2-SMIInteger32
The ID of the storage device. The numbering rule is: 1: Flash1, 2: SD card, 3: RAM card, 4: Flash2, ...
Context
- MIB
- ZTE-AN-FILE-MIB
- OID
.1.3.6.1.4.1.3902.1082.20.50.2.2.2.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- zxAnFileEntry
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 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-FILE-MIB::zxAnFileDevId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-FILE-MIB::zxAnFileDevId.<zxAnFileRack>.<zxAnFileShelf>.<zxAnFileSlot>.<zxAnFileDevId>.<zxAnFileType>.<zxAnFileName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-FILE-MIB::zxAnFileDevId'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647