Simple Network Management Protocol | 991
All of these tasks can be performed using IPv4 or IPv6 addresses. The examples in this section use IPv4
addresses; IPv6 addresses can be substituted for the IPv4 addresses in all of the examples.
The relevant MIBs for these functions are:
Table 48-3. MIB Objects for Copying Configuration Files via SNMP
MIB Object OID Object Values Description
copySrcFileType .1.3.6.1.4.1.6027.3.5.1.1.1.1.2 1 = FTOS file
2 = running-config
3 = startup-config
Specifies the type of file to copy from.
Valid values are:
• If the copySrcFileType is
running-config or startup-config,
the default copySrcFileLocation is
flash.
• If the copySrcFileType is a binary
file, the copySrcFileLocation and
copySrcFileName must also be
specified.
copySrcFileLocation .1.3.6.1.4.1.6027.3.5.1.1.1.1.3 1 = flash
2 = slot0
3 = tftp
4 = ftp
5 = scp
Specifies the location of source file.
• If the copySrcFileLocation is FTP
or SCP, copyServerAddress,
copyUserName, and
copyUserPassword must be
specified.
copySrcFileName .1.3.6.1.4.1.6027.3.5.1.1.1.1.4 Path (if file is not in
current directory)
and filename.
Specifies name of the file.
• If copySourceFileType is set to
running-config or startup-config,
copySrcFileName is not required.
copyDestFileType .1.3.6.1.4.1.6027.3.5.1.1.1.1.5 1 = FTOS file
2 = running-config
3 = startup-config
Specifies the type of file to copy to.
• If the copySourceFileType is
running-config or startup-config,
the default copyDestFileLocation is
flash.
• If the copyDestFileType is a binary
the copyDestFileLocation and
copyDestFileName must be
specified.
copyDestFileLocation .1.3.6.1.4.1.6027.3.5.1.1.1.1.6 1 = flash
2 = slot0
3 = tftp
4 = ftp
5 = scp
Specifies the location of destination
file.
• If the copyDestFileLocation is FTP
or SCP, copyServerAddress,
copyUserName, and
copyUserPassword must be
specified.
copyDestFileName .1.3.6.1.4.1.6027.3.5.1.1.1.1.7 Path (if file is not in
default directory)
and filename.
Specifies the name of destination file.
copyServerAddress .1.3.6.1.4.1.6027.3.5.1.1.1.1.8 IP Address of the
server
The IP address of the server.
• If the copyServerAddress is
specified so must copyUserName,
and copyUserPassword.