fileInfoDelete
SMC6152L2-MIB ·
.1.3.6.1.4.1.202.20.66.1.24.2.1.1.7
Object
column r/w
Enumeration
Write this object to delete(2) to delete a file, when read, this always return noDelete(1).
Context
- MIB
- SMC6152L2-MIB
- OID
.1.3.6.1.4.1.202.20.66.1.24.2.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- fileInfoEntry
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 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::fileInfoDelete'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::fileInfoDelete.<fileInfoUnitID>.<fileInfoFileName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMC6152L2-MIB::fileInfoDelete'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noDelete |
2 | delete |