wwpLeosFTransferOp
WWP-LEOS-FILE-TRANSFER-MIB ·
.1.3.6.1.4.1.6141.2.60.23.1.1.1
Object
scalar r/w
Enumeration
Used to transfer file(s) between a TFTP server (remote)
and the device(local). All transfers are binary.
There are three types of file transfers:
sendFile sends a file to the host TFTP server.
getFile receives a file from the host server.
getCmdFile gets the specified file from the host
and parses that file for additional operations to be performed.
This is the mechanism used to upgrade the device with new software.
Context
- MIB
- WWP-LEOS-FILE-TRANSFER-MIB
- OID
.1.3.6.1.4.1.6141.2.60.23.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- wwpLeosFileTransfer
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 'WWP-LEOS-FILE-TRANSFER-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WWP-LEOS-FILE-TRANSFER-MIB::wwpLeosFTransferOp.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WWP-LEOS-FILE-TRANSFER-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WWP-LEOS-FILE-TRANSFER-MIB::wwpLeosFTransferOp'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | sendFile |
2 | getFile |
3 | getCmdFile |