backupUploadInstallUploadFile
LUM-BACKUP-MIB ·
.1.3.6.1.4.1.8708.2.5.2.5.9
Object
Installs an upload file. Includes the
following files:
- Configuration file
- SNMP agent configuration
- Local user database
The file can either be fetched from a
remote server or installed from local
directory.
There are 3 cases:
1. Remote server. Give server addr and full path
installUploadFile <ip-addr>/<full path>
installUploadFile
192.168.10.27/tftp/backup_192_168_10_101.zip
2. From a local directory
installUploadFile <full path>
installUploadFile /root/backup_192_168_10_101.zip
3. From the local download directory
/tftpboot/downloaded
installUploadFile <file name>
installUploadFile backup_192_168_10_101.zip
Note: The configuration file is installed
as primary.xml, it will not overwrite an
existing file with the same name.
Context
- MIB
- LUM-BACKUP-MIB
- OID
.1.3.6.1.4.1.8708.2.5.2.5.9- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- backupUpload
- Groups
- 3
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 'LUM-BACKUP-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-BACKUP-MIB::backupUploadInstallUploadFile.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-BACKUP-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-BACKUP-MIB::backupUploadInstallUploadFile'
Syntax
- Source
- LUM-TCCommandString
- Base type
OctetString- Display format
255a
Type Description
tbd
Values & Constraints
No enumerated values or constraints recorded.