copySourceFileType
CONFIG-COPY-MIB ·
.1.3.6.1.4.1.3902.3.202.1.1.1.1.1.3
Object
specifies the type of file to copy from. 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 copySourceFileType has the value of
networkFile, the copyServerAddress and
copyFileName must also be created, and these 3
objects together (copySourceFileType,
copyServerAddress, copyFileName) will uniquely
identify the source file.
If the copySourceFileType is localFile, the
copyFileName must also be created, and the
2 objects together (copySourceFileType,
copyFileName) will uniquely identify the source
file.
Context
- MIB
- CONFIG-COPY-MIB
- OID
.1.3.6.1.4.1.3902.3.202.1.1.1.1.1.3- 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::copySourceFileType'
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::copySourceFileType.<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::copySourceFileType'
Syntax
- Source
- ConfigFileType
- Base type
Enumeration
Values & Constraints
Type Values
1 | networkFile |
2 | localFile |
3 | startupConfig |
4 | runningConfig |