tftpOperation
SWITCH-CHASSIS-MIB ·
.1.3.6.1.4.1.207.8.9.1.1.9.4.5
Object
scalar r/w
Enumeration
When tftpOperation has the value putFile(1) when
tftpAdminStatus is set to 'execute', the device attempts to
copy the file identified by tftpLocalFileName to the file
tfptRemoteFileName.
When tftpOperation has the value getFile(2) when
tftpAdminStatus is set to 'execute', the device attempts to
copy the file identified by tftpRemoteFileName on the remote
tftp server to the file identified by tftpLocalFileName.
When tftpOperation has the value getFirmware(3) when
tftpAdminStatus is set to 'execute', the device attempts to
replace its firmware image with the file identified by
tftpRemoteFileName. This firmware file will be used the next
time the system is reset.
When tftpOperation has the value putConfig(1) when
tftpAdminStatus is set to 'execute', the device attempts to
copy the file identified by tftpLocalFileName to the file
tfptRemoteFileName.
When tftpOperation has the value getConfig(2) when
tftpAdminStatus is set to 'execute', the device attempts to
copy the file identified by tftpRemoteFileName on the remote
tftp server to the file identified by tftpLocalFileName.
Context
- MIB
- SWITCH-CHASSIS-MIB
- OID
.1.3.6.1.4.1.207.8.9.1.1.9.4.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- tftpGroup
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 'SWITCH-CHASSIS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-CHASSIS-MIB::tftpOperation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-CHASSIS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-CHASSIS-MIB::tftpOperation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | putFile |
2 | getFile |
3 | getFirmware |