zxr10SftpCopyDestFileType
ZXR10-CONFIG-COPY-MIB ·
.1.3.6.1.4.1.3902.3.202.1.1.1.3.1.3
Object
specifies the type of file to copy to. Either the
copySourceFileType or the copyDestFileType (or both)
must be of type runningConfig or startupConfig. Also,
the copySourceFileType must be different from the
copyDestFileType.
If the copyDestFileType has the value of
networkFile, the copyServerAddress and
copyFileName must also be created, and these 3 objects together
(copyDestFileType, copyServerAddress,
copyFileName) will uniquely identify the destination file.
If the copyDestFileType is localFile, the copyFileName
must also be created, and the 2 objects together
(copyDestFileType, copyFileName) will uniquely
identify the destination file.
Context
- MIB
- ZXR10-CONFIG-COPY-MIB
- OID
.1.3.6.1.4.1.3902.3.202.1.1.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxr10SftpCopyEntry
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 'ZXR10-CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-CONFIG-COPY-MIB::zxr10SftpCopyDestFileType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-CONFIG-COPY-MIB::zxr10SftpCopyDestFileType.<zxr10SftpCopyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-CONFIG-COPY-MIB::zxr10SftpCopyDestFileType'
Syntax
- Source
- SFTPConfigFileType
- Base type
Enumeration
Type Description
The various types of files on which a copy operation can be performed.
Values & Constraints
Type Values
1 | networkFile |
2 | localFile |