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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

MIB Object OID Object Values Description<br />

copyUserName .1.3.6.1.4.1.6027.3.5.1.1.1.9 Username <strong>for</strong> <strong>the</strong><br />

server.<br />

copyUserPassword .1.3.6.1.4.1.6027.3.5.1.1.1.10 Password <strong>for</strong> <strong>the</strong><br />

server.<br />

To copy a configuration file:<br />

Username <strong>for</strong> <strong>for</strong> <strong>the</strong> FTP, TFTP, or<br />

SCP server.<br />

• If <strong>the</strong> copyUserName is specified<br />

so must copyUserPassword.<br />

Password <strong>for</strong> <strong>the</strong> FTP, TFTP, or SCP<br />

server.<br />

Step Task Command Syntax Command Mode<br />

1 Create an SNMP community string with<br />

read/write privileges.<br />

snmp-server community<br />

community-name rw<br />

Table 7 shows examples of using <strong>the</strong> command snmpset to copy a configuration. These examples<br />

assume that:<br />

• <strong>the</strong> server OS is Unix<br />

• you are using SNMP version 2c<br />

• <strong>the</strong> community name is public, and<br />

• <strong>the</strong> file f10-copy-config.mib is in <strong>the</strong> current directory or in <strong>the</strong> snmpset tool path.<br />

CONFIGURATION<br />

2 Copy <strong>the</strong> f10-copy-config.mib MIB from <strong>the</strong> <strong>Force10</strong> iSupport webpage to <strong>the</strong> server to which you are<br />

copying <strong>the</strong> configuration file.<br />

3 On <strong>the</strong> server, use <strong>the</strong> command snmpset as shown:<br />

snmpset -v snmp-version -c community-name -m mib_path/f10-copy-config.mib<br />

<strong>for</strong>ce10system-ip-address mib-object.index {i | a | s} object-value...<br />

• Every specified object must have an object value, which must be preceded by <strong>the</strong> keyword i. See<br />

Table 6 <strong>for</strong> valid values.<br />

• index must be unique to all previously executed snmpset commands. If an index value has been<br />

used previously, a message like <strong>the</strong> one in Message 3 appears. In this case, increment <strong>the</strong> index<br />

value and enter <strong>the</strong> command again.<br />

• Use as many MIB Objects in <strong>the</strong> command as required by <strong>the</strong> MIB Object descriptions in Table 6 to<br />

complete <strong>the</strong> command. See Table 7 or examples.<br />

Note: You can use <strong>the</strong> entire OID ra<strong>the</strong>r than <strong>the</strong> object name. Use <strong>the</strong> <strong>for</strong>m: OID.index i object-value,<br />

as shown in Figure 40.<br />

Message 3 snmpset Index Value Error<br />

Error in packet.<br />

Reason: notWritable (that object does not support modification)<br />

Failed object: FORCE10-COPY-CONFIG-MIB::copySrcFileType.101<br />

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

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

Saved successfully!

Ooh no, something went wrong!