02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 7 Copying <strong>Configuration</strong> Files via SNMP<br />

Task<br />

snmpset -v 2c -c public -m ./f10-copy-config.mib <strong>for</strong>ce10system-ip-address copySrcFileType.index i 3<br />

copyDestFileType.index i 1 copyDestFileName.index s filepath/filename copyDestFileLocation.index i 3<br />

copyServerAddress.index a server-ip-address<br />

Figure 42 Copying <strong>Configuration</strong> Files via SNMP and TFTP to a Remote Server<br />

.snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10<br />

copySrcFileType.4 i 3<br />

copyDestFileType.4 i 1<br />

copyDestFileLocation.4 i 3<br />

copyDestFileName.4 s /home/myfilename<br />

copyServerAddress.4 a 11.11.11.11<br />

Copy a binary file from <strong>the</strong> server to <strong>the</strong> startup-configuration on <strong>the</strong> <strong>Force10</strong> system via FTP using <strong>the</strong> following<br />

command from <strong>the</strong> Unix server:<br />

snmpset -v 2c -c public -m ./f10-copy-config.mib <strong>for</strong>ce10system-ip-address copySrcFileType.index i 1<br />

copySrcFileLocation.index i 4 copySrcFileName.index s filepath/filename copyDestFileType.index i 3<br />

copyServerAddress.index a server-ip-address copyUserName.index s server-login-id copyUserPassword.index s<br />

server-login-password<br />

Figure 43 Copying <strong>Configuration</strong> Files via SNMP and FTP from a Remote Server<br />

> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.10 i 1<br />

copySrcFileLocation.10 i 4 copyDestFileType.10 i 3 copySrcFileName.10 s /home/myfilename<br />

copyServerAddress.10 a 172.16.1.56 copyUserName.10 s mylogin copyUserPassword.10 s mypass<br />

<strong>Force10</strong> provides additional MIB Objects to view copy statistics. These are provided in Table 8.<br />

Table 8 MIB Objects <strong>for</strong> Copying <strong>Configuration</strong> Files via SNMP<br />

MIB Object OID Values Description<br />

copyState .1.3.6.1.4.1.6027.3.5.1.1.1.11 1= running<br />

2 = successful<br />

3 = failed<br />

Specifies <strong>the</strong> state of <strong>the</strong> copy<br />

operation.<br />

copyTimeStarted .1.3.6.1.4.1.6027.3.5.1.1.1.12 Time value Specifies <strong>the</strong> point in <strong>the</strong> up-time clock<br />

that <strong>the</strong> copy operation started.<br />

copyTimeCompleted .1.3.6.1.4.1.6027.3.5.1.1.1.13 Time value Specifies <strong>the</strong> point in <strong>the</strong> up-time clock<br />

that <strong>the</strong> copy operation completed.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!