zxr10TFTPCopySourceFileType

ZXR10-CONFIG-COPY-MIB · .1.3.6.1.4.1.3902.3.202.1.1.1.2.1.2

Object

column r/w ConfigFileType
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
ZXR10-CONFIG-COPY-MIB
OID
.1.3.6.1.4.1.3902.3.202.1.1.1.2.1.2
Type
column
Access
readwrite
Status
current
Parent
zxr10TFTPCopyEntry

Walk 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::zxr10TFTPCopySourceFileType'
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::zxr10TFTPCopySourceFileType.<zxr10CopyIndex>'
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::zxr10TFTPCopySourceFileType'

Syntax

Source
ConfigFileType
Base type
Enumeration
Type Description
The various types of files on which a copy operation
can be performed.

Values & Constraints

Type Values
1networkFile
2localFile
3startupConfig
4runningConfig
5version