tftpStatus
RAD-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.164.6.2.12.6
Object
scalar r/w
Enumeration
Status of tftp session. When a session ended with success, the tftpStatus should be endedOk(6). Before restarting a tftp session, the NMS should set the tftpStatus to noOp(2). That's the reason of MAX-ACCESS read-write to this field.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.6.2.12.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- fileTransfer
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 'RAD-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::tftpStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::tftpStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | noOp |
3 | connecting |
4 | transferringData |
5 | endedTimeOut |
6 | endedOk |
7 | error |