ccCopySourceFileType
CISCO-CONFIG-COPY-MIB ·
.1.3.6.1.4.1.9.9.96.1.1.1.1.3
Object
Specifies the type of file to copy from. Either the
ccCopySourceFileType or the ccCopyDestFileType
(or both) must be of type 'runningConfig' or
'startupConfig'. Also, the ccCopySourceFileType
must be different from the ccCopyDestFileType.
If the ccCopySourceFileType has the value of
'networkFile', the ccCopyServerAddress/
ccCopyServerAddressRev1 and ccCopyServerAddressType
and ccCopyFileName must also be created, and 3
objects together (ccCopySourceFileType,
ccCopyServerAddressRev1, ccCopyFileName) will
uniquely identify the source file. If
ccCopyServerAddress is created then
ccCopyServerAddressRev1 will store the
same IP address and ccCopyServerAddressType will
take the value 'ipv4'.
If the ccCopySourceFileType is 'iosFile', the
ccCopyFileName must also be created, and the
2 objects together (ccCopySourceFileType,
ccCopyFileName) will uniquely identify the source
file.
Context
- MIB
- CISCO-CONFIG-COPY-MIB
- OID
.1.3.6.1.4.1.9.9.96.1.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ccCopyEntry
- Groups
- 2
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 'CISCO-CONFIG-COPY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CONFIG-COPY-MIB::ccCopySourceFileType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-CONFIG-COPY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CONFIG-COPY-MIB::ccCopySourceFileType.<ccCopyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-CONFIG-COPY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-CONFIG-COPY-MIB::ccCopySourceFileType'
Syntax
- Source
- ConfigFileType
- Base type
Enumeration
Values & Constraints
Type Values
1 | networkFile |
2 | iosFile |
3 | startupConfig |
4 | runningConfig |
5 | terminal |
6 | fabricStartupConfig |
Conformance
Member of