copyDestFileType
CONFIG-COPY-MIB ·
.1.3.6.1.4.1.3902.3.202.1.1.1.1.1.4
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
- CONFIG-COPY-MIB
- OID
.1.3.6.1.4.1.3902.3.202.1.1.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- copyEntry
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 'CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-COPY-MIB::copyDestFileType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-COPY-MIB::copyDestFileType.<copyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-COPY-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-COPY-MIB::copyDestFileType'
Syntax
- Source
- ConfigFileType
- Base type
Enumeration
Values & Constraints
Type Values
1 | networkFile |
2 | localFile |
3 | startupConfig |
4 | runningConfig |