22.10.2013 Views

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

7.8.1.0 - 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 71 MIB Objects for Copying Configuration 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 for the<br />

server.<br />

copyUserPassword .1.3.6.1.4.1.6027.3.5.1.1.1.10 Password for the<br />

server.<br />

To copy a configuration file:<br />

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

SCP server.<br />

• If the copyUserName is specified<br />

so must copyUserPassword.<br />

Password for the 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 the command snmpset to copy a configuration. These examples assume<br />

that:<br />

• the server OS is Unix<br />

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

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

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

CONFIGURATION<br />

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

copying the configuration file.<br />

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

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

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

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

Table 6 for 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 the one in Message 3 appears. In this case, increment the index<br />

value and enter the command again.<br />

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

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

Note: You can use the entire OID rather than the object name. Use the form: OID.index i object-value,<br />

as shown in Figure 57.<br />

Message 29 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 />

726 Simple Network Management Protocol

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

Saved successfully!

Ooh no, something went wrong!