Dell S50V Switch User Manual


  Open as PDF
of 1262
 
994 | Simple Network Management Protocol
www.dell.com | support.dell.com
server-ip-address must be preceded by the keyword a.
values for copyUsername and copyUserPassword must be preceded by the keyword s.
Figure 48-10. Copying Configuration Files via SNMP and FTP to a Remote Server
Copy the startup-config to the server via TFTP using the following command from the Unix machine:
Note: Verify that the file exists and its permissions are set to 777, and specify the relative path to the TFTP root
directory.
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address copySrcFileType.index i 3
copyDestFileType.index
i 1 copyDestFileName.index s filepath/filename copyDestFileLocation.index i 3
copyServerAddress.index a server-ip-address
Figure 48-11. Copying Configuration Files via SNMP and TFTP to a Remote Server
Copy a binary file from the server to the startup-configuration on the Dell Force10 system via FTP using the following
command from the Unix server:
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address copySrcFileType.index i 1
copySrcFileLocation.index i 4 copySrcFileName.index
s filepath/filename copyDestFileType.index i 3
copyServerAddress.index
a server-ip-address copyUserName.index s server-login-id copyUserPassword.index s
server-login-password
Figure 48-12. Copying Configuration Files via SNMP and FTP from a Remote Server
Table 48-4. Copying Configuration Files via SNMP
Task
> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.110 i 2
copyDestFileName.110 s /home/startup-config copyDestFileLocation.110 i 4 copyServerAddress.110
a 11.11.11.11 copyUserName.110 s mylogin copyUserPassword.110 s mypass
FORCE10-COPY-CONFIG-MIB::copySrcFileType.110 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileName.110 = STRING: /home/startup-config
FORCE10-COPY-CONFIG-MIB::copyDestFileLocation.110 = INTEGER: ftp(4)
FORCE10-COPY-CONFIG-MIB::copyServerAddress.110 = IpAddress: 11.11.11.11
FORCE10-COPY-CONFIG-MIB::copyUserName.110 = STRING: mylogin
FORCE10-COPY-CONFIG-MIB::copyUserPassword.110 = STRING: mypass
.snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10
copySrcFileType.4 i 3
copyDestFileType.4 i 1
copyDestFileLocation.4 i 3
copyDestFileName.4 s /home/myfilename
copyServerAddress.4 a 11.11.11.11
> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.10 i 1
copySrcFileLocation.10 i 4 copyDestFileType.10 i 3 copySrcFileName.10 s /home/myfilename
copyServerAddress.10 a 172.16.1.56 copyUserName.10 s mylogin copyUserPassword.10 s mypass